Orchestrata Ultimate › Tests › Reference › scripts › test_canonical_conformance
Tests reference — tests/scripts/test_canonical_conformance.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_canonical_conformance.py
source · 27 tests · 579 lines
Tests for scripts/canonical_conformance.py — the canonical-conformance
Covers: core.graph_factory, knowledge_graph.canonical_schema, core.graph/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_plan_migration_invariants_on_real_graph |
178 | plan_migration is pure-read and internally consistent. |
| function | test_run_migration_destructive_path_on_isolated_label |
217 | Exercise purge + backfill + duplicate re-key + apply for REAL against a |
| function | test_plan_migration_dup_group_purges_test_pollution_member |
307 | A duplicate-key group where one member is test-marked is purged, not |
| function | test_plan_migration_backfill_collision_rekeys_deterministically |
346 | When a keyless node's computed backfill value collides with a value |
| function | test_plan_component_id_migration_backfills_missing_id |
400 | A node missing id is planned with the default-project-qualified |
| function | test_plan_component_id_migration_aborts_on_ambiguous_project |
429 | A node missing id but already carrying a DIFFERENT project than |
| function | test_plan_component_id_migration_aborts_on_missing_name |
453 | A keyless node with no name either has nothing to derive an id |
| function | test_run_component_id_migration_dry_run_does_not_write |
471 | --dry-run ([WOULD]) reports the count without writing a thing. |
| function | test_run_component_id_migration_execute_is_idempotent |
492 | Execute ([DID]) backfills id+project for real; a second run is a |
| function | test_plan_migration_skips_component_backfill_scan |
527 | The generic per-node backfill loop in plan_migration must never |
| function | test_main_dry_run_against_real_graph |
557 | main --uri ... --dry-run connects via the real _driver() seam, |
| class | TestIsTestPollution |
43 | |
| method | TestIsTestPollution.test_strong_marker_underscore_test |
44 | |
| method | TestIsTestPollution.test_strong_marker_test_sync |
47 | |
| method | TestIsTestPollution.test_strong_marker_vizint_test |
50 | |
| method | TestIsTestPollution.test_strong_marker_design_prefix |
55 | |
| method | TestIsTestPollution.test_strong_marker_pytest_tmp_path |
59 | |
| method | TestIsTestPollution.test_strong_marker_in_data_blob |
64 | |
| method | TestIsTestPollution.test_weak_marker_leading_test_on_structured_field |
70 | |
| method | TestIsTestPollution.test_weak_marker_NOT_matched_in_free_text |
74 | |
| method | TestIsTestPollution.test_real_nodes_preserved |
84 | |
| method | TestIsTestPollution.test_none_values_ignored |
98 | |
| method | TestIsTestPollution.test_prose_mention_of_test_is_not_pollution |
101 | |
| class | TestBackfillValue |
131 | |
| method | TestBackfillValue.test_prefers_natural_source |
132 | |
| method | TestBackfillValue.test_source_preference_order |
141 | |
| method | TestBackfillValue.test_empty_string_source_skipped |
149 | |
| method | TestBackfillValue.test_legacy_fallback_when_no_source |
155 | |
| method | TestBackfillValue.test_unknown_label_falls_back |
158 |