Commit 1747806
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.1 parent f677d66 commit 1747806
1 file changed
Lines changed: 5 additions & 11 deletions
Lines changed: 5 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
682 | 683 | | |
683 | 684 | | |
684 | 685 | | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
696 | 690 | | |
697 | 691 | | |
698 | 692 | | |
| |||
0 commit comments