Orchestrata Ultimate › Tests › Reference › session › test_session_sync
Tests reference — tests/session/test_session_sync.py
Module of tests/session, split out because the directory page would be too large.
Prose pending.
tests/session/test_session_sync.py
source · 11 tests · 215 lines
Tests for SessionSync.
Covers: infra.redis_state, session.graph_store, session.redis_store, session.sync, session.types
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestFlushSession |
92 | Test flushing session to the graph. |
| method | TestFlushSession.test_flush_session |
95 | |
| method | TestFlushSession.test_flush_with_facts |
99 | |
| method | TestFlushSession.test_flush_increments_count |
113 | |
| class | TestSyncFacts |
120 | Test fact synchronization. |
| method | TestSyncFacts.test_sync_facts |
123 | |
| method | TestSyncFacts.test_sync_facts_with_offset |
147 | |
| class | TestFullSync |
172 | Test full sync of all active sessions. |
| method | TestFullSync.test_full_sync |
175 | |
| class | TestLinkSessions |
180 | Test session linking. |
| method | TestLinkSessions.test_link_sessions |
183 | |
| class | TestNoNeo4j |
199 | Test behavior without the graph. |
| method | TestNoNeo4j.test_neo4j_not_available |
202 | |
| method | TestNoNeo4j.test_flush_returns_false |
205 | |
| method | TestNoNeo4j.test_sync_facts_returns_zero |
209 | |
| method | TestNoNeo4j.test_full_sync_returns_zero |
213 |