Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tests/test_lark_private_conversations.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ def test_original_worker_continues_proven_unstarted_argon_quota_on_codex(tmp_pat
fake = Path(runtime.codex_bin)
fake.write_text(fake.read_text().replace('result = {"thread": {"id": "durable-thread"}}',
'result = {"thread": {"id": "durable-thread"}, "model": "gpt-6.1-sol"}'))
route = lambda *_: None if fault == "no-capacity" else {"allocation": allocation,
"blocked_primary": None, "observed_at": time.time()}
def route(*_):
return None if fault == "no-capacity" else {"allocation": allocation,
"blocked_primary": None, "observed_at": time.time()}
monkeypatch.setattr(manager_module, "manager_session_quota_route", route)
monkeypatch.setattr(runtime_module, "manager_session_quota_route", route)
class Ahead(datetime):
Expand Down
Loading