mirror of
https://github.com/usestrix/strix.git
synced 2026-11-14 09:01:25 +00:00
test(retry): include telemetry settings in runner fixture
The current upstream runner reads run_record_timings while constructing usage hooks. Its rate-limit test fixture predates that setting and raises AttributeError before reaching the mocked agent loop. Complete the shared fixture so both the existing rate-limit test and the non-OpenAI usage-limit regression exercise their intended paths.
This commit is contained in:
parent
45fab2c5b3
commit
7570363318
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ async def _run_scan_raising(
|
|||
extra_body=None,
|
||||
),
|
||||
runtime=types.SimpleNamespace(max_context_images=3),
|
||||
telemetry=types.SimpleNamespace(run_record_timings=False),
|
||||
)
|
||||
monkeypatch.setattr(runner, "load_settings", lambda: settings)
|
||||
monkeypatch.setattr(runner, "configure_sdk_model_defaults", lambda _settings: None)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue