haiku.rag/tests/multi_db
Yiorgis Gozadinos 34180a0fd1
One reference and one placement for a database
DatabaseRef is a name and a location. The configuration places databases
through lancedb.databases alone; with none configured the default is the
entry haiku.rag under storage.data_dir, selectable like any other.
lancedb.uri is removed, and a config carrying it fails to load with the
replacement spelled out. A path passed from Python is valid where the
configuration places nothing and raises AmbiguousDatabaseError beside
lancedb.databases; haiku-rag --db and haiku-ingester --db construct the
scope directly, so a human's override keeps working. Every database
answers to a name, and a database given as a path keeps its own errors.
2026-09-03 15:12:08 +03:00
..
__init__.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
conftest.py Finish the comment pass, and escape document fields everywhere Rich renders 2026-08-28 15:34:47 +03:00
helpers.py One reference and one placement for a database 2026-09-03 15:12:08 +03:00
test_capabilities.py Hand storage the database location, not the configuration that placed it 2026-09-03 15:11:37 +03:00
test_citations.py Price qa.max_searches in search units 2026-09-02 12:29:12 +03:00
test_documents.py One reference and one placement for a database 2026-09-03 15:12:08 +03:00
test_expansion.py Make three tests assert what they are about 2026-08-27 18:04:28 +03:00
test_lifecycle.py Finish the comment pass, and escape document fields everywhere Rich renders 2026-08-28 15:34:47 +03:00
test_scope.py One reference and one placement for a database 2026-09-03 15:12:08 +03:00
test_search.py One reference and one placement for a database 2026-09-03 15:12:08 +03:00