Orchestrata Ultimate › Tests › Reference › session › test_session_cli_subcommands
Tests reference — tests/session/test_session_cli_subcommands.py
Module of tests/session, split out because the directory page would be too large.
Prose pending.
tests/session/test_session_cli_subcommands.py
source · 29 tests · 320 lines
Tests for session.cli subcommands: task, achievement, goal.
Covers: session.cli.main, session.context, session.models
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestTaskCommands |
42 | |
| method | TestTaskCommands.test_task_list_empty |
43 | |
| method | TestTaskCommands.test_task_add_and_list |
48 | |
| method | TestTaskCommands.test_task_add_with_priority |
59 | |
| method | TestTaskCommands.test_task_done |
79 | The echo is not the evidence — re-read the state. |
| method | TestTaskCommands.test_task_reopen_returns_a_closed_task_to_todo |
95 | task done was one-way, and context.json must not be hand-edited. |
| method | TestTaskCommands.test_task_reopen_rejects_an_out_of_range_index |
119 | A bad index must fail loudly, not silently reopen nothing. |
| method | TestTaskCommands.test_task_done_persists_across_processes |
127 | The assertion that actually failed on the old code. |
| method | TestTaskCommands.test_task_done_invalid_index |
140 | |
| method | TestTaskCommands.test_task_status |
147 | |
| class | TestAchievementCommands |
156 | |
| method | TestAchievementCommands.test_achievement_list_no_sessions |
157 | |
| method | TestAchievementCommands.test_achievement_add_and_list |
164 | |
| method | TestAchievementCommands.test_achievement_add_no_session |
196 | |
| class | TestGoalCommands |
204 | |
| method | TestGoalCommands.test_goal_set |
205 | |
| method | TestGoalCommands.test_goal_status_no_goal |
213 | |
| method | TestGoalCommands.test_goal_status_with_goal |
218 | |
| method | TestGoalCommands.test_goal_criterion |
225 | |
| method | TestGoalCommands.test_goal_criterion_no_goal |
234 | |
| method | TestGoalCommands.test_goal_task |
242 | |
| method | TestGoalCommands.test_goal_task_no_goal |
250 | |
| method | TestGoalCommands.test_goal_progress |
257 | |
| method | TestGoalCommands.test_goal_progress_no_goal |
266 | |
| method | TestGoalCommands.test_goal_abandon |
274 | |
| method | TestGoalCommands.test_goal_abandon_no_goal |
280 | |
| method | TestGoalCommands.test_goal_achieve |
285 | |
| method | TestGoalCommands.test_goal_achieve_no_goal |
291 | |
| method | TestGoalCommands.test_goal_advance |
296 | |
| method | TestGoalCommands.test_goal_advance_no_goal |
304 | |
| method | TestGoalCommands.test_goal_step |
309 | |
| method | TestGoalCommands.test_goal_step_no_goal |
317 |