langchain/tests/integration_tests/document_loaders/test_spreedly.py
Harrison Chase f04faf8496
Harrison/spreedly (#3937)
Co-authored-by: Esmit Pérez <esmitperez@users.noreply.github.com>
2023-05-01 20:56:56 -07:00

12 lines
321 B
Python

from langchain.document_loaders.spreedly import SpreedlyLoader
def test_spreedly_loader() -> None:
"""Test Spreedly Loader."""
access_token = ""
resource = "gateways_options"
spreedly_loader = SpreedlyLoader(access_token, resource)
documents = spreedly_loader.load()
assert len(documents) == 1