Orchestrata Ultimate › Tests › Reference › scripts › test_purge_stray_kg_databases
Tests reference — tests/scripts/test_purge_stray_kg_databases.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_purge_stray_kg_databases.py
source · 8 tests · 153 lines
Tests for scripts/purge_stray_kg_databases.py — the residue-database purge.
Covers: core.graph_factory
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_uri |
51 | The dedicated TEST node — never a production coordinator. |
| class | TestKeepAllowlist |
82 | |
| method | TestKeepAllowlist.test_keep_holds_exactly_the_two_real_databases |
83 | An allowlist, not a denylist: anything else IS residue. |
| class | TestDatabaseIntrospection |
92 | |
| method | TestDatabaseIntrospection.test_database_names_includes_a_database_just_created |
93 | |
| method | TestDatabaseIntrospection.test_node_count_counts_what_was_written |
102 | |
| class | TestDrop |
112 | |
| method | TestDrop.test_drop_removes_the_database |
113 | |
| method | TestDrop.test_drop_takes_the_data_with_it |
118 | |
| class | TestMainReadOnlyReport |
131 | |
| method | TestMainReadOnlyReport.test_report_lists_a_residue_database_without_dropping_it |
132 | |
| method | TestMainReadOnlyReport.test_report_names_node_counts |
144 |