Orchestrata Ultimate › Tests › Reference › session › test_session_fact_emitter
Tests reference — tests/session/test_session_fact_emitter.py
Module of tests/session, split out because the directory page would be too large.
Prose pending.
tests/session/test_session_fact_emitter.py
source · 15 tests · 167 lines
Tests for FactEmitter.
Covers: infra.redis_state, session.fact_emitter, session.redis_store, session.types
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestEmit |
67 | Test single fact emission. |
| method | TestEmit.test_emit_stores_fact |
70 | |
| method | TestEmit.test_emit_increments_count |
77 | |
| method | TestEmit.test_emit_tracks_latency |
82 | |
| method | TestEmit.test_emit_multiple |
86 | |
| class | TestEmitTyped |
93 | Test typed fact emission. |
| method | TestEmitTyped.test_emit_typed_creates_fact |
96 | |
| method | TestEmitTyped.test_emit_typed_stores_in_redis |
102 | |
| class | TestBatchEmit |
109 | Test batch fact emission. |
| method | TestBatchEmit.test_batch_emit |
112 | |
| method | TestBatchEmit.test_batch_emit_updates_count |
119 | |
| method | TestBatchEmit.test_batch_empty |
124 | |
| class | TestGetFacts |
129 | Test fact retrieval. |
| method | TestGetFacts.test_get_facts_empty |
132 | |
| method | TestGetFacts.test_get_facts_filtered |
136 | |
| method | TestGetFacts.test_query_facts_by_type |
145 | |
| method | TestGetFacts.test_query_facts_all |
151 | |
| class | TestFactCount |
158 | Test fact counting. |
| method | TestFactCount.test_count_zero |
161 | |
| method | TestFactCount.test_count_after_emit |
164 |