Orchestrata Ultimate › Tests › Reference › session › test_session_context_more_coverage
Tests reference — tests/session/test_session_context_more_coverage.py
Module of tests/session, split out because the directory page would be too large.
Prose pending.
tests/session/test_session_context_more_coverage.py
source · 10 tests · 145 lines
Coverage tests for ContextFileManager — git/recovery edge cases.
Covers: session.context
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestNextSessionNum |
36 | |
| method | TestNextSessionNum.test_with_no_history_returns_zero |
37 | |
| method | TestNextSessionNum.test_with_git_tags_picks_max |
44 | |
| method | TestNextSessionNum.test_no_git_executable_returns_minus_one |
65 | |
| class | TestVerifyHistoryIntegrity |
73 | |
| method | TestVerifyHistoryIntegrity.test_invalid_json_raises_error_captured |
74 | |
| method | TestVerifyHistoryIntegrity.test_gap_detection |
83 | |
| method | TestVerifyHistoryIntegrity.test_sync_failure_when_files_mismatch |
94 | |
| class | TestRecoverFromGit |
104 | |
| method | TestRecoverFromGit.test_no_git_repo_logs_error |
105 | |
| method | TestRecoverFromGit.test_no_commits_returns_empty |
113 | |
| method | TestRecoverFromGit.test_invalid_json_in_commit_collects_error |
121 | |
| method | TestRecoverFromGit.test_corrupt_current_json_collects_error |
138 |