Orchestrata Ultimate › Tests › Reference › session › test_types

Tests reference — tests/session/test_types.py

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

Prose pending.

tests/session/test_types.py

source · 17 tests · 219 lines

Tests for session.types module.

Covers: session.types

Kind Name Line Description
class TestSessionState 35
method TestSessionState.test_session_state_values 36
class TestFactType 46
method TestFactType.test_fact_type_values 47
class TestFact 56
method TestFact.test_fact_creation 57
method TestFact.test_fact_to_dict 66
method TestFact.test_fact_from_dict 84
method TestFact.test_fact_from_dict_missing_created_at 99
class TestCheckpoint 110
method TestCheckpoint.test_checkpoint_creation 111
method TestCheckpoint.test_checkpoint_to_dict 119
method TestCheckpoint.test_checkpoint_from_dict 134
class TestFactFilter 148
method TestFactFilter.test_matches_no_constraints 149
method TestFactFilter.test_matches_fact_type 154
method TestFactFilter.test_matches_session_id 161
method TestFactFilter.test_matches_since 168
method TestFactFilter.test_matches_source 179
method TestFactFilter.test_matches_multiple_constraints 188
class TestPortfolioContext 198
method TestPortfolioContext.test_portfolio_context_creation 199
method TestPortfolioContext.test_portfolio_context_to_dict 206