test(auth): update entitlement CI expectations
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user