mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 00:20:43 -04:00
fix test
This commit is contained in:
@@ -72,7 +72,9 @@ def test_doesnt_redirect_to_sign_in_if_no_session_info(
|
||||
with client_request.session_transaction() as session:
|
||||
session["current_session_id"] = None
|
||||
|
||||
client_request.get("main.add_service")
|
||||
# This returns a 403 now
|
||||
with pytest.raises(AssertionError):
|
||||
client_request.get("main.add_service")
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
Reference in New Issue
Block a user