test: add fallback settings fields to runner test stubs

This commit is contained in:
Alex Schapiro
2026-08-10 13:45:23 +00:00
parent cd15e9e8c3
commit 009cc94220
4 changed files with 8 additions and 0 deletions
+2
View File
@@ -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),
)
+2
View File
@@ -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),
)
+2
View File
@@ -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),
)
+2
View File
@@ -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),
)