a2a-source-edit: write tests/test_runtime_safety.py
This commit is contained in:
12
tests/test_runtime_safety.py
Normal file
12
tests/test_runtime_safety.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""Runtime safety checks for the current deterministic release validator."""
|
||||
|
||||
from agent import CustomerIntegrationEngineer
|
||||
|
||||
|
||||
def test_no_llm_required_by_pricing():
|
||||
assert CustomerIntegrationEngineer.pricing.caller_pays_llm is False
|
||||
|
||||
|
||||
def test_workspace_modes_declared():
|
||||
modes = {mode.value for mode in CustomerIntegrationEngineer.workspace_access.allowed_modes}
|
||||
assert {"read_only", "read_write_overlay"} <= modes
|
||||
Reference in New Issue
Block a user