langchain/tests/integration_tests/document_loaders/test_figma.py
Harrison Chase 6e1b5b8f7e
Harrison/figma doc loader (#1908)
Co-authored-by: Ismail Pelaseyed <homanp@gmail.com>
2023-03-22 19:57:46 -07:00

14 lines
277 B
Python

from langchain.document_loaders.figma import FigmaFileLoader
ACCESS_TOKEN = ""
IDS = ""
KEY = ""
def test_figma_file_loader() -> None:
"""Test Figma file loader."""
loader = FigmaFileLoader(ACCESS_TOKEN, IDS, KEY)
docs = loader.load()
assert len(docs) == 1