mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
Make invited user model inherit from JSONModel
This is more consistent, and less fiddly that always having to call it with a dictionary expansion.
This commit is contained in:
@@ -45,7 +45,7 @@ def test_doesnt_redirect_to_sign_in_if_no_session_info(
|
||||
api_user_active,
|
||||
mock_get_organisation_by_domain,
|
||||
):
|
||||
assert 'current_session_id' not in api_user_active
|
||||
api_user_active['current_session_id'] = str(uuid.UUID(int=1))
|
||||
|
||||
with client_request.session_transaction() as session:
|
||||
session['current_session_id'] = None
|
||||
|
||||
Reference in New Issue
Block a user