haiku.rag/tests/cassettes/test_client
Yiorgis Gozadinos f6acb65e95
Reach and enforce 100% coverage
Cover the remaining paths in the client, context, downloads, title
generation, document tools and store models, and add fail_under=100 so
uncovered lines fail CI.

Six lines that no test can reach get a pragma with its reason: the docling
import guard, the nameless PDF attachment, the FS symlink OSError guard that
resolve(strict=False) absorbs, the docling bbox and LanceDB document-id
shape guards, the tag-retention branch vacuum makes unreachable, and Monty's
Rust-thread print callback.

Fix test_find_config_file_user_config, which wrote its config into the cwd it
had chdir'd to, so the cwd branch answered first and the user-directory
lookup it names was never exercised.
2026-07-26 20:11:02 +03:00
..
test_client_ask.yaml replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00
test_client_async_context_manager.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_create_document_from_directory.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_create_document_from_file_stores_docling_json.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_create_document_from_source.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_create_document_from_source_uri_override_dedupes.yaml Allow uri override on create_document_from_source 2026-04-30 16:36:35 +03:00
test_client_create_document_from_source_with_uri_override.yaml Allow uri override on create_document_from_source 2026-04-30 16:36:35 +03:00
test_client_create_document_from_url.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_create_document_from_url_with_different_content_types.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_create_document_stores_docling_json.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_create_document_with_html_format.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_create_update_no_op_behavior.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_document_crud.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_expand_context.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_file_update_stores_docling_json.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_import_document_stores_docling_data.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_import_document_with_custom_chunks.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_metadata_content_type_and_md5.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_search.yaml Stabilize test_client_search ranking assertion 2026-05-14 14:37:27 +03:00
test_client_update_document.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_update_document_content_docling_mutually_exclusive.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_update_document_docling_with_chunks.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_update_document_stores_docling_json.yaml Search results now show rank position instead of raw scores. Consolidate cassettes 2026-01-21 14:54:15 +02:00
test_client_update_document_with_custom_chunks_no_docling_json.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_update_document_with_docling_rechunks.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_update_title_noop_behavior.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_url_create_update_no_op_behavior.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_visualize_chunk_no_bounding_boxes.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_visualize_chunk_returns_list.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_client_visualize_chunk_with_pdf.yaml Disable ocr in tests previously marked as integration 2026-01-12 16:19:25 +02:00
test_import_document_embeds_chunks_without_embeddings.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00
test_import_documents_schedules_vacuum_when_enabled.yaml Reach and enforce 100% coverage 2026-07-26 20:11:02 +03:00
test_reingesting_a_source_applies_an_explicit_title.yaml Reach and enforce 100% coverage 2026-07-26 20:11:02 +03:00
test_sql_injection_is_blocked_with_escaping.yaml Security fixes for RLM. Fix type() builtin, AST validation for dict key access, sql injection 2026-02-06 12:07:19 +01:00
test_update_document_embeds_chunks_without_embeddings.yaml Record cassettes for embedder, ignore huggingface while recording 2025-12-29 13:23:53 +02:00