import pytest @pytest.fixture(autouse=True) def explicit_local_dashboard_auth_mode(monkeypatch): """Keep tests intentional now that deployed authentication fails closed.""" monkeypatch.setenv("STACKCHAIN_DASHBOARD_AUTH_MODE", "insecure-local") monkeypatch.delenv("STACKCHAIN_DASHBOARD_ACCESS_TOKEN", raising=False) monkeypatch.delenv("STACKCHAIN_DASHBOARD_SESSION_SECRET", raising=False)