Files
langchain-benchmarks/tests/unit_tests/tool_usage/test_public_api.py
T
Eugene Yurtsev bec40d90ef Remove old code (#176)
Remove old code
2024-04-18 11:16:42 -04:00

17 lines
451 B
Python

from langchain_benchmarks.tool_usage import __all__
def test_public_api() -> None:
"""Test that the public API is correct."""
# This test will also fail if __all__ is not sorted.
# Please keep it sorted!
assert __all__ == sorted(
[
"apply_agent_executor_adapter",
"get_eval_config",
"CustomRunnableAgentFactory",
"StandardAgentFactory",
],
key=str.lower,
)