Orchestrata Ultimate › Tests › Reference › orchestrator › test_fact_manager_behavioral

Tests reference — tests/orchestrator/test_fact_manager_behavioral.py

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

Prose pending.

tests/orchestrator/test_fact_manager_behavioral.py

source · 24 tests · 233 lines

Behavioral tests for fact manager and related components.

Covers: orchestrator.fact_manager, core.enums/ (package)

Kind Name Line Description
class TestFactMetadata 16
method TestFactMetadata.test_expires_at_with_ttl 17
method TestFactMetadata.test_expires_at_without_ttl 31
method TestFactMetadata.test_is_expired_true 45
method TestFactMetadata.test_is_expired_false 59
method TestFactMetadata.test_is_expired_no_ttl 73
class TestFactStats 88
method TestFactStats.test_defaults 89
class TestFactManager 97
method TestFactManager.test_register_fact 105
method TestFactManager.test_register_fact_with_ttl 114
method TestFactManager.test_unregister_fact 119
method TestFactManager.test_unregister_fact_not_found 125
method TestFactManager.test_get_session_facts 129
method TestFactManager.test_get_facts_by_predicate 137
method TestFactManager.test_get_stats 145
method TestFactManager.test_on_session_start 155
method TestFactManager.test_on_session_end 160
method TestFactManager.test_on_session_end_empty 170
method TestFactManager.test_on_request_end 174
method TestFactManager.test_cleanup_expired 181
method TestFactManager.test_cleanup_expired_none 188
method TestFactManager.test_clear_all 194
method TestFactManager.test_export_facts 202
method TestFactManager.test_start_stop 211
method TestFactManager.test_register_fact_assertion_failure 218
method TestFactManager.test_stats_copy_isolation 226