Orchestrata Ultimate › Tests › Reference › session › test_session_redis_store
Tests reference — tests/session/test_session_redis_store.py
Module of tests/session, split out because the directory page would be too large.
Prose pending.
tests/session/test_session_redis_store.py
source · 32 tests · 313 lines
Tests for RedisSessionStore.
Covers: infra.redis_state, session.redis_store, session.types
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestSessionCRUD |
72 | Test session save/get/delete. |
| method | TestSessionCRUD.test_save_and_get |
75 | |
| method | TestSessionCRUD.test_get_nonexistent |
83 | |
| method | TestSessionCRUD.test_save_with_complex_data |
87 | |
| method | TestSessionCRUD.test_delete_session |
96 | |
| method | TestSessionCRUD.test_delete_nonexistent |
102 | |
| class | TestActiveSessionTracking |
107 | Test active session set operations. |
| method | TestActiveSessionTracking.test_set_and_check_active |
110 | |
| method | TestActiveSessionTracking.test_not_active_initially |
114 | |
| method | TestActiveSessionTracking.test_clear_active |
117 | |
| method | TestActiveSessionTracking.test_get_active_sessions |
122 | |
| method | TestActiveSessionTracking.test_multiple_active |
127 | |
| class | TestFactStorage |
139 | Test fact list operations. |
| method | TestFactStorage.test_save_and_get_fact |
142 | |
| method | TestFactStorage.test_fact_ordering |
149 | |
| method | TestFactStorage.test_fact_filter_by_type |
156 | |
| method | TestFactStorage.test_batch_save |
163 | |
| method | TestFactStorage.test_fact_count |
170 | |
| method | TestFactStorage.test_empty_facts |
175 | |
| class | TestContextStorage |
180 | Test context hash operations. |
| method | TestContextStorage.test_save_and_get_context |
183 | |
| method | TestContextStorage.test_get_missing_key |
188 | |
| method | TestContextStorage.test_get_all_context |
192 | |
| method | TestContextStorage.test_delete_context_key |
199 | |
| method | TestContextStorage.test_clear_context |
204 | |
| method | TestContextStorage.test_context_complex_value |
210 | |
| class | TestCheckpointStorage |
216 | Test checkpoint sorted set operations. |
| method | TestCheckpointStorage.test_save_and_get_latest |
219 | |
| method | TestCheckpointStorage.test_no_checkpoint |
232 | |
| method | TestCheckpointStorage.test_multiple_checkpoints_latest |
235 | |
| method | TestCheckpointStorage.test_get_all_checkpoints |
251 | |
| method | TestCheckpointStorage.test_delete_checkpoints |
265 | |
| class | TestCarryoverStorage |
273 | Test carryover list operations. |
| method | TestCarryoverStorage.test_save_and_get_carryover |
276 | |
| method | TestCarryoverStorage.test_multiple_carryover |
282 | |
| method | TestCarryoverStorage.test_clear_carryover |
288 | |
| method | TestCarryoverStorage.test_empty_carryover |
293 | |
| class | TestCleanup |
297 | Test session cleanup. |
| method | TestCleanup.test_cleanup_removes_all |
300 |