Orchestrata Ultimate › Tests › Reference › session › test_session_recovery
Tests reference — tests/session/test_session_recovery.py
Module of tests/session, split out because the directory page would be too large.
Prose pending.
tests/session/test_session_recovery.py
source · 11 tests · 148 lines
Tests for RecoveryManager.
Covers: infra.redis_state, session.recovery, session.redis_store
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestCreateCheckpoint |
61 | Test checkpoint creation via recovery manager. |
| method | TestCreateCheckpoint.test_create_checkpoint |
64 | |
| method | TestCreateCheckpoint.test_create_multiple_checkpoints |
69 | |
| class | TestRecover |
75 | Test session recovery. |
| method | TestRecover.test_recover_from_checkpoint |
78 | |
| method | TestRecover.test_recover_sets_active |
89 | |
| method | TestRecover.test_recover_no_checkpoint_raises |
94 | |
| class | TestRollback |
100 | Test rollback to specific checkpoint. |
| method | TestRollback.test_rollback_to_specific |
103 | |
| method | TestRollback.test_rollback_nonexistent |
113 | |
| class | TestCanRecover |
118 | Test recovery availability check. |
| method | TestCanRecover.test_can_recover_false_initially |
121 | |
| method | TestCanRecover.test_can_recover_true_after_checkpoint |
125 | |
| class | TestListCheckpoints |
130 | Test checkpoint listing. |
| method | TestListCheckpoints.test_list_checkpoints |
133 | |
| class | TestCleanupCheckpoints |
140 | Test checkpoint cleanup. |
| method | TestCleanupCheckpoints.test_cleanup_prunes |
143 |