← Về thư mục
tests/test_compute_states.py
- store · function · L30-L31 — def store(tmp_path)
- test_terminal_states_are_mutually_exclusive_with_live_ones · function · L39-L45 — def test_terminal_states_are_mutually_exclusive_with_live_ones()
- test_unknown_is_live_not_terminal · function · L48-L56 — def test_unknown_is_live_not_terminal()
- test_a_terminal_job_cannot_be_reopened · function · L59-L68 — def test_a_terminal_job_cannot_be_reopened()
- test_repeating_a_live_state_is_allowed · function · L71-L74 — def test_repeating_a_live_state_is_allowed()
- test_rewriting_a_terminal_state_with_itself_is_refused · function · L77-L87 — def test_rewriting_a_terminal_state_with_itself_is_refused()
- test_staging_is_live_everywhere_it_is_live_anywhere · function · L90-L93 — def test_staging_is_live_everywhere_it_is_live_anywhere()
- test_staging_can_reach_a_verified_terminal_state_directly · function · L96-L110 — def test_staging_can_reach_a_verified_terminal_state_directly()
- test_the_repository_refuses_an_unknown_status · function · L118-L121 — def test_the_repository_refuses_an_unknown_status(store)
- test_the_repository_refuses_an_illegal_transition · function · L124-L129 — def test_the_repository_refuses_an_illegal_transition(store)
- test_the_repository_refuses_a_second_terminal_write_of_the_same_status · function · L132-L160 — def test_the_repository_refuses_a_second_terminal_write_of_the_same_status(store)
- test_a_legal_transition_still_writes · function · L163-L166 — def test_a_legal_transition_still_writes(store)
- test_the_termination_reason_survives_the_round_trip · function · L169-L178 — def test_the_termination_reason_survives_the_round_trip(store)
- _legacy_db · function · L186-L203 — def _legacy_db(path, rows)
- test_the_migration_renames_done_and_folds_the_two_lost_states · function · L206-L233 — def test_the_migration_renames_done_and_folds_the_two_lost_states(tmp_path)
- test_the_migration_is_idempotent · function · L236-L245 — def test_the_migration_is_idempotent(tmp_path)
- test_a_migrated_job_is_not_rehydrated_as_live · function · L248-L263 — def test_a_migrated_job_is_not_rehydrated_as_live(tmp_path)
- test_the_manifest_migration_upgrades_a_pre_manifest_database · function · L266-L301 — def test_the_manifest_migration_upgrades_a_pre_manifest_database(tmp_path)