Orchestrata Ultimate › Tests › Reference › scripts › test_ingest_orchestrata_ultimate

Tests reference — tests/scripts/test_ingest_orchestrata_ultimate.py

Module of tests/scripts, split out because the directory page would be too large.

Prose pending.

tests/scripts/test_ingest_orchestrata_ultimate.py

source · 22 tests · 688 lines

Tests for scripts/ingest_orchestrata_ultimate.py — the source-code ->

Covers: semantic_graph.adapters.memgraph, semantic_graph.config, semantic_graph.embedders, semantic_graph.rerankers

Kind Name Line Description
function test_graph_config_applies_codestral_defaults 145
function test_graph_config_honors_env_overrides 171
function test_load_dotenv_loads_a_key_missing_from_the_environment 195
function test_load_dotenv_does_not_clobber_an_explicitly_set_variable 207 An exported MEMGRAPH_URI must survive _load_dotenv.
function test_parse_args_defaults 238
function test_parse_args_prune_stale_labels 244
function test_parse_args_prune_stale_labels_with_apply 250
function test_ingest_returns_zero_on_connect_failure 262
function test_verify_connect_failure_is_a_noop 277
function test_verify_runs_sample_queries_against_the_live_graph 286
function test_prune_stale_labels_connect_failure 302
function test_prune_stale_labels_dry_run_against_live_graph 310
function test_main_prune_stale_labels_dry_run 322 Real end-to-end --prune-stale-labels dry run: connect + report only.
function test_main_reports_missing_source_dir 339
function test_main_reports_missing_api_key 348
function test_verify_accepts_no_reranker 371 The reranker is optional, and that is what unblocked the local backend.
function test_main_reports_ingest_connect_failure 398 Real (dead-address) connect failure inside _ingest, reached via main():
function test_scoped_graph_config 421 Real Memgraph config, sandboxed to this test's own chunk_label +
function test_ingest_writes_and_links_chunks_for_real 472 Full real write: connect -> clear() -> chunk+embed+store (source dir
function test_main_completes_a_full_ingest_and_verify_for_real 521 Real end-to-end main() run: ingest a tiny scratch tree into a
function test_prune_stale_labels_reports_none_found_under_an_empty_scoped_label 631 No node is ever created under this test's scoped label -- exercises
function test_prune_stale_labels_apply_true_deletes_only_the_test_scoped_node 650