mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
e7e29f9937
Modified Modern Treasury and Strip slightly so credentials don't have to be passed in explicitly. Thanks @mattgmarcus for adding Modern Treasury! --------- Co-authored-by: Matt Marcus <matt.g.marcus@gmail.com>
10 lines
311 B
Python
10 lines
311 B
Python
from langchain.document_loaders.modern_treasury import ModernTreasuryLoader
|
|
|
|
|
|
def test_modern_treasury_loader() -> None:
|
|
"""Test Modern Treasury file loader."""
|
|
modern_treasury_loader = ModernTreasuryLoader("payment_orders")
|
|
documents = modern_treasury_loader.load()
|
|
|
|
assert len(documents) == 1
|