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

This commit is contained in:
kshitijk4poor
2026-09-27 14:35:09 +05:30
committed by kshitij
parent f9771a445d
commit eb4c8efe60

View File

@@ -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):