mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
14 lines
277 B
Python
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
|