FF                                                                       [100%]
=================================== FAILURES ===================================
__________________ TrainingTests.test_authenticated_settings ___________________
tests/test_training.py:141: in test_authenticated_settings
    app.include_router(build_router(SimpleNamespace(),'secret-token-123456','server'))
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/secure_control.py:272: in build_router
    service = ControlService(manager, server_id, template, roi_policy_path=roi_policy_path)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/secure_control.py:135: in __init__
    self.roi_policy = PolicyStore(roi_policy_path, command_lock=manager._commands,
                                                                ^^^^^^^^^^^^^^^^^
E   AttributeError: 'types.SimpleNamespace' object has no attribute '_commands'
__________________ test_crowd_cache_activation_and_no_capture __________________
tests/test_crowd_events.py:174: in test_crowd_cache_activation_and_no_capture
    assert isinstance(EventCapture.from_environment(spec), EventCapture)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<string>:84: in from_environment
    ???
app/provider_delivery.py:33: in runtime_plan
    return plan(spec)
           ^^^^^^^^^^
app/provider_plan.py:115: in plan
    raise ValueError('Canonical identity is required for requested scenarios.')
E   ValueError: Canonical identity is required for requested scenarios.
=============================== warnings summary ===============================
tests/test_training.py::TrainingTests::test_authenticated_settings
  /tmp/codex/ltb1021/2026-10-13_multi-roi_r01/venv/lib/python3.12/site-packages/starlette/testclient.py:45: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
    _PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_training.py::TrainingTests::test_authenticated_settings - A...
FAILED tests/test_crowd_events.py::test_crowd_cache_activation_and_no_capture
2 failed, 1 warning in 1.26s
