Orchestrata Ultimate › Tests › Reference › scripts › test_promote_env_gate
Tests reference — tests/scripts/test_promote_env_gate.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_promote_env_gate.py
source · 10 tests · 195 lines
Tests for the prod gate of
Promoter(ADR-0087 item 1, ADR-0088 R1(a)).
Covers: promotion.env_profile, promotion.promoter
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_gate_refuses_when_there_is_no_record |
91 | |
| function | test_gate_refuses_a_record_without_sha |
96 | |
| function | test_gate_refuses_a_fail_record_even_with_the_matching_sha |
102 | |
| function | test_gate_refuses_a_pass_record_of_another_commit |
112 | |
| function | test_gate_admits_a_pass_record_of_the_promoted_commit |
120 | |
| function | test_a_new_commit_invalidates_the_record |
127 | |
| function | test_test_records_sha_source_id_totals_and_reused_ids |
152 | |
| function | test_test_records_empty_reused_ids_when_the_document_has_none |
173 | |
| function | test_test_tolerates_stdout_that_is_not_a_document |
182 | |
| function | test_ship_source_id_ignores_a_stamp_of_another_commit |
190 |