haiku.rag/tests/multi_db
Yiorgis Gozadinos 2bfb661c10
Pin the over-fetch rule, and assert the type a lookup raises
`_fetch_limit` had no test: a text query over-fetches `limit * 10` only with a
reranker, and an image query keeps its vector ranking either way. The sandbox
test asserted `KeyError`, which `UnknownDatabaseError` subclasses, so it could
not tell the contract from a bare one.

`uses_configured_databases` documents a mapping of one as covered; the test
named for it passed no mapping at all. Its `config` parameter is an `AppConfig`.

`test_an_analysis_capability_mounts_the_configured_set` carried a VCR marker and
no cassette, making no HTTP calls.
2026-08-28 14:03:13 +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 Pin the over-fetch rule, and assert the type a lookup raises 2026-08-28 14:03:13 +03:00
test_citations.py Make three tests assert what they are about 2026-08-27 18:04:28 +03:00
test_documents.py Read a document, chunk or picture from the database that names it 2026-08-28 13:30:05 +03:00
test_expansion.py Make three tests assert what they are about 2026-08-27 18:04:28 +03:00
test_lifecycle.py Fix a client's coverage when it is first entered 2026-08-28 13:29:16 +03:00
test_scope.py Answer for an unknown database name with one type 2026-08-27 18:04:27 +03:00
test_search.py Pin the over-fetch rule, and assert the type a lookup raises 2026-08-28 14:03:13 +03:00