Home / Function/ test_supported_providers_is_sorted() — langchain Function Reference

test_supported_providers_is_sorted() — langchain Function Reference

Architecture documentation for the test_supported_providers_is_sorted() function in test_chat_models.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  e9a2e16b_62cc_ad9a_32dd_f766828b1274["test_supported_providers_is_sorted()"]
  29aaa9ad_8f95_7e3c_f947_66f656fbb0e8["test_chat_models.py"]
  e9a2e16b_62cc_ad9a_32dd_f766828b1274 -->|defined in| 29aaa9ad_8f95_7e3c_f947_66f656fbb0e8
  style e9a2e16b_62cc_ad9a_32dd_f766828b1274 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain_v1/tests/unit_tests/chat_models/test_chat_models.py lines 65–67

def test_supported_providers_is_sorted() -> None:
    """Test that supported providers are sorted alphabetically."""
    assert list(_BUILTIN_PROVIDERS) == sorted(_BUILTIN_PROVIDERS.keys())

Domain

Subdomains

Frequently Asked Questions

What does test_supported_providers_is_sorted() do?
test_supported_providers_is_sorted() is a function in the langchain codebase, defined in libs/langchain_v1/tests/unit_tests/chat_models/test_chat_models.py.
Where is test_supported_providers_is_sorted() defined?
test_supported_providers_is_sorted() is defined in libs/langchain_v1/tests/unit_tests/chat_models/test_chat_models.py at line 65.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free