test(auth): update entitlement CI expectations

This commit is contained in:
Robin Fernandes
2026-05-28 00:19:31 -07:00
committed by Teknium
parent 1cf5e639b3
commit dc52b82d53
4 changed files with 24 additions and 18 deletions
+1
View File
@@ -1338,6 +1338,7 @@ def test_worker_complete_rejects_stale_run_id(worker_env, monkeypatch):
try:
run1 = kb.latest_run(conn, worker_env)
kb._set_worker_pid(conn, worker_env, 98765)
monkeypatch.setenv("HERMES_KANBAN_CRASH_GRACE_SECONDS", "0")
monkeypatch.setattr(_kb, "_pid_alive", lambda pid: False)
assert kb.detect_crashed_workers(conn) == [worker_env]
+2 -2
View File
@@ -165,7 +165,7 @@ def test_modal_backend_managed_mode_does_not_fall_back_to_direct(monkeypatch, ca
assert ok is False
assert any(
"paid Nous subscription is required" in record.getMessage()
"Nous Tool Gateway access is not currently available" in record.getMessage()
for record in caplog.records
)
@@ -183,6 +183,6 @@ def test_modal_backend_managed_mode_without_feature_flag_logs_clear_error(monkey
assert ok is False
assert any(
"paid Nous subscription is required" in record.getMessage()
"Nous Tool Gateway access is not currently available" in record.getMessage()
for record in caplog.records
)