mirror of
https://github.com/hwchase17/langchain
synced 2024-11-20 03:25:56 +00:00
f04faf8496
Co-authored-by: Esmit Pérez <esmitperez@users.noreply.github.com>
12 lines
321 B
Python
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
|