Orchestrata Ultimate › Tests › Reference › scripts › test_kg_retention
Tests reference — tests/scripts/test_kg_retention.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_kg_retention.py
source · 10 tests · 270 lines
Tests for scripts/kg_retention.py — recurring KG retention on the orchgraph seam.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_retention_clauses_keys_and_cutoff_window |
69 | |
| function | test_retention_clauses_days_parameter_moves_cutoff |
87 | |
| function | test_count_matches_seeded_nodes_and_empty_label |
101 | |
| function | test_purge_partial_final_batch_returns_total |
108 | |
| function | test_purge_exact_batch_multiple_runs_one_empty_pass |
118 | |
| function | test_main_dry_run_counts_but_preserves |
173 | |
| function | test_main_apply_deletes_exhaust_and_verifies |
191 | |
| function | test_main_apply_on_clean_graph_deletes_nothing |
216 | |
| function | test_main_cxp_exhaust_apply |
226 | |
| function | test_main_without_cxp_flag_leaves_cxp_packets |
262 |