test: verify exempt-user session persistence via Session model, not dashboard view
The dashboard-view GET added to test_single_session_exempt_user passed locally but failed in CI's shared-with-cms-1 job (400 instead of 200), likely from unrelated view-layer state (MFE redirect flags, site config) picked up when run alongside the rest of that shard. Assert against Session.objects directly instead -- that's the actual mechanism set_login_session uses to evict a session, so it verifies the same thing without depending on the dashboard view rendering successfully.
T
Tobias Macey committed
1747806d593d3849d8629c3df04027d398959da3
Parent: f677d66
Committed by Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
on 7/20/2026, 7:46:43 AM