Orchestrata Ultimate › Tests › Reference › generated_recovery › test_session_graph_store_recovery

Tests reference — tests/generated_recovery/test_session_graph_store_recovery.py

Module of tests/generated_recovery, split out because the directory page would be too large.

Prose pending.

tests/generated_recovery/test_session_graph_store_recovery.py

source · 32 tests · 601 lines

Auto-generated tests for: session.graph_store

Covers: session.graph_store

Kind Name Line Description
class TestGraphSessionStorePersistSessionBranches 32 Branch/exception tests for: session.graph_store.GraphSessionStore.persist_session
method TestGraphSessionStorePersistSessionBranches.test_L98_when_not_self_connected_true 57 Line 98: condition not self.connected is True.
method TestGraphSessionStorePersistSessionBranches.test_L98_when_not_self_connected_false 66 Line 98: condition not self.connected is False.
method TestGraphSessionStorePersistSessionBranches.test_handles_Exception_L100 75 Line 100: Exception handler — suppressed.
class TestGraphSessionStoreCleanupSessionBranches 82 Branch/exception tests for: session.graph_store.GraphSessionStore.cleanup_session
method TestGraphSessionStoreCleanupSessionBranches.test_L400_when_not_self_connected_true 107 Line 400: condition not self.connected is True.
method TestGraphSessionStoreCleanupSessionBranches.test_L400_when_not_self_connected_false 116 Line 400: condition not self.connected is False.
method TestGraphSessionStoreCleanupSessionBranches.test_handles_Exception_L402 125 Line 402: Exception handler — suppressed.
class TestGraphSessionStorePersistFactBranches 132 Branch/exception tests for: session.graph_store.GraphSessionStore.persist_fact
method TestGraphSessionStorePersistFactBranches.test_L132_when_not_self_connected_true 159 Line 132: condition not self.connected is True.
method TestGraphSessionStorePersistFactBranches.test_L132_when_not_self_connected_false 168 Line 132: condition not self.connected is False.
method TestGraphSessionStorePersistFactBranches.test_handles_Exception_L134 177 Line 134: Exception handler — suppressed.
class TestGraphSessionStorePersistFactsBatchBranches 186 Branch/exception tests for: session.graph_store.GraphSessionStore.persist_facts_batch
method TestGraphSessionStorePersistFactsBatchBranches.test_L146_when_not_self_connected_true 213 Line 146: condition not self.connected is True.
method TestGraphSessionStorePersistFactsBatchBranches.test_L146_when_not_self_connected_false 222 Line 146: condition not self.connected is False.
method TestGraphSessionStorePersistFactsBatchBranches.test_handles_Exception_L148 231 Line 148: Exception handler — suppressed.
class TestGraphSessionStorePersistPortfolioBranches 240 Branch/exception tests for: session.graph_store.GraphSessionStore.persist_portfolio
method TestGraphSessionStorePersistPortfolioBranches.test_L211_when_not_self_connected_true 265 Line 211: condition not self.connected is True.
method TestGraphSessionStorePersistPortfolioBranches.test_L211_when_not_self_connected_false 274 Line 211: condition not self.connected is False.
method TestGraphSessionStorePersistPortfolioBranches.test_handles_Exception_L213 283 Line 213: Exception handler — suppressed.
class TestGraphSessionStoreLinkSessionToPortfolioBranches 292 Branch/exception tests for: session.graph_store.GraphSessionStore.link_session_to_portfolio
method TestGraphSessionStoreLinkSessionToPortfolioBranches.test_L228_when_not_self_connected_true 319 Line 228: condition not self.connected is True.
method TestGraphSessionStoreLinkSessionToPortfolioBranches.test_L228_when_not_self_connected_false 330 Line 228: condition not self.connected is False.
method TestGraphSessionStoreLinkSessionToPortfolioBranches.test_handles_Exception_L230 341 Line 230: Exception handler — suppressed.
class TestGraphSessionStoreLinkSessionsBranches 350 Branch/exception tests for: session.graph_store.GraphSessionStore.link_sessions
method TestGraphSessionStoreLinkSessionsBranches.test_L253_when_not_self_connected_true 375 Line 253: condition not self.connected is True.
method TestGraphSessionStoreLinkSessionsBranches.test_L253_when_not_self_connected_false 384 Line 253: condition not self.connected is False.
method TestGraphSessionStoreLinkSessionsBranches.test_handles_Exception_L255 393 Line 255: Exception handler — suppressed.
class TestGraphSessionStoreQuerySessionHistoryBranches 402 Branch/exception tests for: session.graph_store.GraphSessionStore.query_session_history
method TestGraphSessionStoreQuerySessionHistoryBranches.test_L278_when_not_self_connected_true 430 Line 278: condition not self.connected is True.
method TestGraphSessionStoreQuerySessionHistoryBranches.test_L278_when_not_self_connected_false 439 Line 278: condition not self.connected is False.
method TestGraphSessionStoreQuerySessionHistoryBranches.test_handles_Exception_L280 448 Line 280: Exception handler — suppressed.
method TestGraphSessionStoreQuerySessionHistoryBranches.test_L282_when_portfolio_id_true 456 Line 282: condition portfolio_id is True.
method TestGraphSessionStoreQuerySessionHistoryBranches.test_L282_when_portfolio_id_false 464 Line 282: condition portfolio_id is False.
class TestGraphSessionStoreQueryFactTimelineBranches 473 Branch/exception tests for: session.graph_store.GraphSessionStore.query_fact_timeline
method TestGraphSessionStoreQueryFactTimelineBranches.test_L313_when_not_self_connected_true 498 Line 313: condition not self.connected is True.
method TestGraphSessionStoreQueryFactTimelineBranches.test_L313_when_not_self_connected_false 507 Line 313: condition not self.connected is False.
method TestGraphSessionStoreQueryFactTimelineBranches.test_handles_Exception_L315 516 Line 315: Exception handler — suppressed.
class TestGraphSessionStorePersistCarryoverBranches 525 Branch/exception tests for: session.graph_store.GraphSessionStore.persist_carryover
method TestGraphSessionStorePersistCarryoverBranches.test_L344_when_not_self_connected_true 558 Line 344: condition not self.connected is True.
method TestGraphSessionStorePersistCarryoverBranches.test_L344_when_not_self_connected_false 574 Line 344: condition not self.connected is False.
method TestGraphSessionStorePersistCarryoverBranches.test_handles_Exception_L346 590 Line 346: Exception handler — suppressed.