Home / Class/ TestChromaStandard Class — langchain Architecture

TestChromaStandard Class — langchain Architecture

Architecture documentation for the TestChromaStandard class in test_standard.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  b457823b_686c_cdba_34c6_74f94c7c5fd2["TestChromaStandard"]
  dd52cc1a_cb37_0117_3b1e_0889a7228307["VectorStoreIntegrationTests"]
  b457823b_686c_cdba_34c6_74f94c7c5fd2 -->|extends| dd52cc1a_cb37_0117_3b1e_0889a7228307
  623fccd8_6ba8_47ee_6e63_8982e5b414b8["test_standard.py"]
  b457823b_686c_cdba_34c6_74f94c7c5fd2 -->|defined in| 623fccd8_6ba8_47ee_6e63_8982e5b414b8
  b099b44a_9f47_bc35_8ced_39fdb1041d1a["vectorstore()"]
  b457823b_686c_cdba_34c6_74f94c7c5fd2 -->|method| b099b44a_9f47_bc35_8ced_39fdb1041d1a

Relationship Graph

Source Code

libs/partners/chroma/tests/unit_tests/test_standard.py lines 11–19

class TestChromaStandard(VectorStoreIntegrationTests):
    @pytest.fixture
    def vectorstore(self) -> Generator[VectorStore, None, None]:  # type: ignore[override]
        """Get an empty vectorstore for unit tests."""
        store = Chroma(embedding_function=self.get_embeddings())
        try:
            yield store
        finally:
            store.delete_collection()

Frequently Asked Questions

What is the TestChromaStandard class?
TestChromaStandard is a class in the langchain codebase, defined in libs/partners/chroma/tests/unit_tests/test_standard.py.
Where is TestChromaStandard defined?
TestChromaStandard is defined in libs/partners/chroma/tests/unit_tests/test_standard.py at line 11.
What does TestChromaStandard extend?
TestChromaStandard extends VectorStoreIntegrationTests.

Analyze Your Own Codebase

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

Try Supermodel Free