Orchestrata Ultimate › Tests › Reference › session › test_graph_store_extended
Tests reference — tests/session/test_graph_store_extended.py
Module of tests/session, split out because the directory page would be too large.
Prose pending.
tests/session/test_graph_store_extended.py
source · 33 tests · 478 lines
Covers: session.graph_store, session.types
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestExceptionPathsClosedDriver |
104 | Trigger except branches by closing the underlying driver. |
| method | TestExceptionPathsClosedDriver.test_persist_fact_closed_driver |
118 | |
| method | TestExceptionPathsClosedDriver.test_persist_facts_batch_closed_driver |
126 | |
| method | TestExceptionPathsClosedDriver.test_persist_portfolio_closed_driver |
133 | |
| method | TestExceptionPathsClosedDriver.test_link_session_to_portfolio_closed_driver |
140 | |
| method | TestExceptionPathsClosedDriver.test_link_sessions_closed_driver |
147 | |
| method | TestExceptionPathsClosedDriver.test_query_session_history_closed_driver |
154 | |
| method | TestExceptionPathsClosedDriver.test_query_fact_timeline_closed_driver |
161 | |
| method | TestExceptionPathsClosedDriver.test_persist_carryover_closed_driver |
168 | |
| method | TestExceptionPathsClosedDriver.test_cleanup_session_closed_driver |
175 | |
| class | TestSessionCrudEdgeCases |
186 | Edge cases for session persistence and querying. |
| method | TestSessionCrudEdgeCases.test_persist_session_minimal_fields |
189 | |
| method | TestSessionCrudEdgeCases.test_persist_session_idempotent_merge |
203 | |
| method | TestSessionCrudEdgeCases.test_query_session_history_empty_portfolio_id |
218 | Empty string portfolio_id is falsy → falls back to all sessions. |
| method | TestSessionCrudEdgeCases.test_query_session_history_no_match |
226 | |
| method | TestSessionCrudEdgeCases.test_cleanup_session_nonexistent |
231 | |
| class | TestFactCrudEdgeCases |
236 | Edge cases for fact persistence and querying. |
| method | TestFactCrudEdgeCases.test_persist_facts_batch_empty_list |
239 | |
| method | TestFactCrudEdgeCases.test_query_fact_timeline_no_facts |
246 | |
| method | TestFactCrudEdgeCases.test_persist_fact_with_empty_data |
253 | |
| method | TestFactCrudEdgeCases.test_persist_facts_batch_multiple |
269 | |
| class | TestPortfolioCrudEdgeCases |
289 | Edge cases for portfolio and linking operations. |
| method | TestPortfolioCrudEdgeCases.test_link_session_to_portfolio_nonexistent_session |
292 | |
| method | TestPortfolioCrudEdgeCases.test_link_session_to_portfolio_nonexistent_portfolio |
301 | |
| method | TestPortfolioCrudEdgeCases.test_link_sessions_nonexistent |
308 | Linking non-existent sessions succeeds but creates no relationships. |
| method | TestPortfolioCrudEdgeCases.test_persist_portfolio_idempotent |
312 | |
| class | TestCarryoverEdgeCases |
328 | Edge cases for carryover persistence. |
| method | TestCarryoverEdgeCases.test_persist_carryover_without_to_session |
331 | |
| method | TestCarryoverEdgeCases.test_persist_carryover_with_to_session |
354 | |
| class | TestConnectionManagement |
384 | Edge cases for connect/close/connected lifecycle. |
| method | TestConnectionManagement.test_close_when_already_none |
387 | |
| method | TestConnectionManagement.test_double_close |
397 | |
| method | TestConnectionManagement.test_connected_after_close |
402 | |
| method | TestConnectionManagement.test_connected_after_failed_connection |
407 | |
| method | TestConnectionManagement.test_reconnect_not_supported |
416 | After close, operations return False (no auto-reconnect). |
| class | TestQueryConstructionEdgeCases |
427 | Exercise query parameters and construction paths. |
| method | TestQueryConstructionEdgeCases.test_query_all_sessions_limit |
430 | Limit parameter is passed through to query. |
| method | TestQueryConstructionEdgeCases.test_query_portfolio_sessions_limit |
439 | |
| method | TestQueryConstructionEdgeCases.test_session_with_special_chars_in_summary |
452 | |
| method | TestQueryConstructionEdgeCases.test_fact_with_nested_data |
460 |