Labels: testing, langchain-community, difficulty:medium
LOC: ~200
Description
Add standard integration tests from langchain-tests package.
References
Tasks
Sample AI Prompts
Study https://github.com/langchain-ai/langchain/blob/master/libs/partners/qdrant/tests/integration_tests/test_vectorstores.py
and create standard integration tests for OceanbaseVectorStore by subclassing VectorStoreIntegrationTests.
Include a pytest fixture that creates an empty vector store connected to a test database.
Review OceanbaseVectorStore to determine which feature flags to enable (supports_mmr, supports_filter, etc.)
Read langchain_oceanbase/vectorstores.py and identify all capabilities that OceanbaseVectorStore supports.
Map these to the feature flag properties in VectorStoreIntegrationTests base class.
Run the integration tests against SeekDB and fix any failures:
docker-compose -f docker-compose.seekdb.yml up -d
pytest tests/integration_tests/test_vectorstore_standard.py -v
Labels:
testing,langchain-community,difficulty:mediumLOC: ~200
Description
Add standard integration tests from
langchain-testspackage.References
Tasks
tests/integration_tests/test_vectorstore_standard.pyVectorStoreIntegrationTestssubclasssupports_mmr,supports_filter, etc.)Sample AI Prompts