langchain/tests/integration_tests/document_loaders/test_stripe.py

10 lines
243 B
Python
Raw Normal View History

from langchain.document_loaders.stripe import StripeLoader
def test_stripe_loader() -> None:
"""Test Stripe file loader."""
stripe_loader = StripeLoader("charges")
documents = stripe_loader.load()
assert len(documents) == 1