Orchestrata Ultimate › Tests › Reference › test_session
Tests reference — tests/test_session.py
Module of tests, split out because the directory page would be too large.
Prose pending.
tests/test_session.py
source · 32 tests · 297 lines
Tests for orchestrata_ultimate.session module.
Covers: session.constants, session.exceptions, session.hook_registry, session.models
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_generate_session_id_matches_pattern |
42 | |
| function | test_generate_session_id_with_custom_datetime |
47 | |
| function | test_generate_session_id_uniqueness |
54 | |
| function | test_session_id_pattern_rejects_invalid |
60 | |
| function | test_session_default_ttl_is_positive |
65 | |
| function | test_work_item_default_state |
74 | |
| function | test_work_item_mark_done |
80 | |
| function | test_work_item_mark_deferred |
87 | |
| function | test_task_state_enum_values |
93 | |
| function | test_session_record_session_id_format |
106 | |
| function | test_session_record_header_line |
116 | |
| function | test_session_record_defaults |
124 | |
| function | test_context_data_next_session_num_empty |
136 | |
| function | test_context_data_next_session_num_with_history |
141 | |
| function | test_context_data_latest_session |
149 | |
| function | test_context_data_pending_work |
158 | |
| function | test_portfolio_data_add_project |
172 | |
| function | test_portfolio_data_drop_project |
179 | |
| function | test_portfolio_data_drop_nonexistent_project |
187 | |
| function | test_portfolio_data_next_session_num |
193 | |
| function | test_portfolio_data_pending_work |
200 | |
| function | test_goal_criterion_defaults |
214 | |
| function | test_goal_task_defaults |
220 | |
| function | test_goal_defaults |
226 | |
| function | test_goal_id_generated |
233 | |
| function | test_goal_progress_timestamp_present |
239 | |
| function | test_session_error_is_exception |
249 | |
| function | test_checklist_error_stores_failures |
254 | |
| function | test_session_start_error_stores_reason |
260 | |
| function | test_hook_registry_fire_calls_hook |
270 | |
| function | test_hook_registry_fire_unknown_hook_point |
283 | |
| function | test_hook_registry_multiple_hooks_fired |
290 |