test_supported_providers_package_names() — langchain Function Reference
Architecture documentation for the test_supported_providers_package_names() function in test_base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 8f6d2dfd_febd_0268_ba54_a23fe79fd6ce["test_supported_providers_package_names()"] da0101ff_3641_29c7_9da2_59715316b6f2["test_base.py"] 8f6d2dfd_febd_0268_ba54_a23fe79fd6ce -->|defined in| da0101ff_3641_29c7_9da2_59715316b6f2 style 8f6d2dfd_febd_0268_ba54_a23fe79fd6ce fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain_v1/tests/unit_tests/embeddings/test_base.py lines 103–108
def test_supported_providers_package_names(provider: str) -> None:
"""Test that all supported providers have valid package names."""
package = _BUILTIN_PROVIDERS[provider][0]
assert "-" not in package
assert package.startswith("langchain_")
assert package.islower()
Domain
Subdomains
Source
Frequently Asked Questions
What does test_supported_providers_package_names() do?
test_supported_providers_package_names() is a function in the langchain codebase, defined in libs/langchain_v1/tests/unit_tests/embeddings/test_base.py.
Where is test_supported_providers_package_names() defined?
test_supported_providers_package_names() is defined in libs/langchain_v1/tests/unit_tests/embeddings/test_base.py at line 103.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free