Orchestrata Ultimate › Tests › Reference › orchestrator › test_engine_behavioral
Tests reference — tests/orchestrator/test_engine_behavioral.py
Module of tests/orchestrator, split out because the directory page would be too large.
Prose pending.
tests/orchestrator/test_engine_behavioral.py
source · 34 tests · 415 lines
Behavioral tests for U:Ox governance engine.
Covers: infra.redis_state, orchestrator.engine, orchestrator.graph_audit, orchestrator.intent_parser
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_evaluate_policy_persists_decision_node_to_graph |
59 | evaluate_policy must land a :PolicyDecision node in REAL graph. |
| class | TestPolicyContext |
138 | |
| method | TestPolicyContext.test_valid_creation |
139 | |
| method | TestPolicyContext.test_missing_session_id |
146 | |
| method | TestPolicyContext.test_missing_volk_id |
150 | |
| method | TestPolicyContext.test_missing_tool |
154 | |
| method | TestPolicyContext.test_non_dict_parameters |
158 | |
| method | TestPolicyContext.test_oversized_parameters |
167 | |
| method | TestPolicyContext.test_to_cache_key |
172 | |
| method | TestPolicyContext.test_to_cache_key_non_serializable |
181 | |
| class | TestGovernanceDecision |
190 | |
| method | TestGovernanceDecision.test_values |
191 | |
| class | TestUOxEngine |
197 | |
| method | TestUOxEngine.test_init |
198 | |
| method | TestUOxEngine.test_validate_cache_ttl |
202 | |
| method | TestUOxEngine.test_validate_dependencies |
212 | |
| method | TestUOxEngine.test_validate_dependencies_bad_redis |
225 | |
| method | TestUOxEngine.test_validate_dependencies_bad_graph |
233 | |
| method | TestUOxEngine.test_validate_dependencies_bad_prolog |
241 | |
| method | TestUOxEngine.test_is_protected_path |
249 | |
| method | TestUOxEngine.test_sanitize_prolog_term |
254 | |
| method | TestUOxEngine.test_parse_intent_from_context_file |
262 | |
| method | TestUOxEngine.test_parse_intent_from_context_command |
274 | |
| method | TestUOxEngine.test_parse_intent_from_context_directory |
283 | |
| method | TestUOxEngine.test_serialize_result |
290 | |
| method | TestUOxEngine.test_deserialize_result |
306 | |
| method | TestUOxEngine.test_deserialize_result_no_intent |
325 | |
| method | TestUOxEngine.test_initialize_and_shutdown |
331 | |
| method | TestUOxEngine.test_initialize_idempotent |
337 | |
| method | TestUOxEngine.test_shutdown_not_initialized |
341 | |
| method | TestUOxEngine.test_health_check |
344 | |
| method | TestUOxEngine.test_health_check_graph_healthy_with_started_trail |
350 | health_check()'s graph branch reads the audit trail's owned graph |
| method | TestUOxEngine.test_evaluate_policy_protected_path |
374 | |
| method | TestUOxEngine.test_evaluate_policy_no_intent |
385 | |
| method | TestUOxEngine.test_start_and_end_session |
399 | |
| method | TestUOxEngine.test_sanitize_for_cache_key |
408 | |
| method | TestUOxEngine.test_utc_now |
413 |