diff --git a/muxplex/tests/test_api.py b/muxplex/tests/test_api.py index 03dae28..189a6df 100644 --- a/muxplex/tests/test_api.py +++ b/muxplex/tests/test_api.py @@ -778,6 +778,11 @@ def test_post_login_pam_mode_wrong_creds(monkeypatch): # --------------------------------------------------------------------------- # GET /auth/logout +# +# Note: these tests intentionally bypass the shared `client` fixture. +# The `client` fixture pre-injects a valid muxplex_session cookie; these +# tests verify that logout works correctly even for an unauthenticated +# (or expired-session) request, so they create their own TestClient. # ---------------------------------------------------------------------------