Skip to content

The agent that grows with you

test(simplex): fail loudly if the warned-set name drifts

kshitijk4pooreb4c8efe60a1
diff --git a/tests/gateway/test_simplex_plugin.py b/tests/gateway/test_simplex_plugin.py
index 80bba5290c4..ad63573adda 100644
--- a/tests/gateway/test_simplex_plugin.py
+++ b/tests/gateway/test_simplex_plugin.py
@@ -499,7 +499,7 @@ async def test_name_allowlist_warning_once_scoped_even_if_first_connect_fails(mo
from gateway.config import PlatformConfig
monkeypatch.setenv("SIMPLEX_ALLOWED_USERS", "bob") # default profile's bridge output
- monkeypatch.setattr(_simplex, "_NAME_ALLOWLIST_WARNED", set(), raising=False)
+ monkeypatch.setattr(_simplex, "_NAME_ALLOWLIST_WARNED", set())
class DummyWs:
async def __aenter__(self):