From 009cc942209b1553e5899653016e7b6edc394eff Mon Sep 17 00:00:00 2001 From: Alex Schapiro Date: Mon, 10 Aug 2026 13:45:23 +0000 Subject: [PATCH] test: add fallback settings fields to runner test stubs --- tests/test_runner_interrupt.py | 2 ++ tests/test_runner_rate_limit.py | 2 ++ tests/test_runner_root_prompt.py | 2 ++ tests/test_runner_teardown.py | 2 ++ 4 files changed, 8 insertions(+) diff --git a/tests/test_runner_interrupt.py b/tests/test_runner_interrupt.py index 054f5b7a..085b77aa 100644 --- a/tests/test_runner_interrupt.py +++ b/tests/test_runner_interrupt.py @@ -28,6 +28,8 @@ def _wire_runner(monkeypatch: pytest.MonkeyPatch, tmp_path: Any) -> None: timeout=300, prompt_cache=True, extra_headers=None, + fallback_model=None, + denied_retries=3, ), runtime=types.SimpleNamespace(max_context_images=3), ) diff --git a/tests/test_runner_rate_limit.py b/tests/test_runner_rate_limit.py index 3110ae2c..9f56aed1 100644 --- a/tests/test_runner_rate_limit.py +++ b/tests/test_runner_rate_limit.py @@ -42,6 +42,8 @@ async def test_persistent_rate_limit_stops_gracefully( timeout=300, prompt_cache=True, extra_headers=None, + fallback_model=None, + denied_retries=3, ), runtime=types.SimpleNamespace(max_context_images=3), ) diff --git a/tests/test_runner_root_prompt.py b/tests/test_runner_root_prompt.py index 2c346203..0d466131 100644 --- a/tests/test_runner_root_prompt.py +++ b/tests/test_runner_root_prompt.py @@ -50,6 +50,8 @@ def _patch_engine_scaffold( timeout=300, prompt_cache=True, extra_headers=None, + fallback_model=None, + denied_retries=3, ), runtime=types.SimpleNamespace(max_context_images=3), ) diff --git a/tests/test_runner_teardown.py b/tests/test_runner_teardown.py index 4433c17d..76c28a9e 100644 --- a/tests/test_runner_teardown.py +++ b/tests/test_runner_teardown.py @@ -52,6 +52,8 @@ def _settings() -> Any: timeout=300, prompt_cache=True, extra_headers=None, + fallback_model=None, + denied_retries=3, ), runtime=types.SimpleNamespace(max_context_images=3), )