Orchestrata Ultimate › Tests › Reference › agents › test_constraints_real
Tests reference — tests/agents/test_constraints_real.py
Module of tests/agents, split out because the directory page would be too large.
Prose pending.
tests/agents/test_constraints_real.py
source · 24 tests · 219 lines
Test Standards Compliance (see AGENTS.md § Test Standards):
Covers: agents.constraints
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_constraint_result_properties |
32 | |
| function | test_constraint_to_dict |
39 | |
| function | test_default_constraints_populated |
53 | |
| function | test_validate_at_spawn_missing_alias |
60 | |
| function | test_validate_at_spawn_cpu_exceeds |
67 | |
| function | test_validate_at_spawn_memory_exceeds |
74 | |
| function | test_validate_at_spawn_depth_exceeds |
81 | |
| function | test_validate_at_spawn_valid |
90 | |
| function | test_validate_at_runtime_no_prolog_allows |
96 | |
| function | test_check_fact_visibility_own_scope |
102 | |
| function | test_check_scope_wraps_runtime |
110 | |
| function | test_check_resource_limits_within |
115 | |
| function | test_check_resource_limits_cpu_exceeded |
120 | |
| function | test_check_resource_limits_mem_exceeded |
125 | |
| function | test_constraints_get_set |
130 | |
| function | test_get_default_constraints_returns_copy |
140 | |
| function | test_constraints_severity_warning_escalates_to_error |
147 | |
| function | test_prolog_registration_denial |
156 | |
| function | test_prolog_validation_raises |
168 | |
| function | test_prolog_runtime_denial_produces_violations |
175 | |
| function | test_prolog_runtime_error_denies_by_default |
192 | |
| function | test_check_resource_limits_prolog_allow |
202 | |
| function | test_check_resource_limits_prolog_deny |
207 | |
| function | test_check_resource_limits_prolog_raises |
217 |