haiku.rag/tests/multi_db
Yiorgis Gozadinos d93cb5c891
Refuse a name the client does not cover, however many it covers
`reader_for` returned itself before looking at the name, so an "alpha" client
answered `reader_for("beta")` with alpha's reader. A citation naming another
database would have been read from the wrong one.

Both paths decide through `clients_covering` now, so one database refuses a
wrong name the way a set already did.

The chat citation test said mounting lends the client without showing it; a
chat test shows it and the docstring points there.
2026-08-27 14:49:40 +03:00
..
__init__.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
conftest.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
helpers.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
test_capabilities.py Refuse a name the client does not cover, however many it covers 2026-08-27 14:49:40 +03:00
test_citations.py Say what makes a cited chunk id ambiguous 2026-08-27 14:09:01 +03:00
test_documents.py Rename the database selector to --db-name 2026-08-26 16:48:27 +03:00
test_expansion.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
test_lifecycle.py Report where a named remote database actually is 2026-08-27 11:40:35 +03:00
test_scope.py Refuse a name the client does not cover, however many it covers 2026-08-27 14:49:40 +03:00
test_search.py Search one database the ordinary way, however it was selected 2026-08-27 14:41:10 +03:00