mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-17 04:59:37 -04:00
Merge pull request #3371 from alphagov/flask-login-again
Flask login (but backwards compatible)
This commit is contained in:
@@ -172,13 +172,13 @@ def test_api_documentation_page_should_redirect(
|
||||
|
||||
def test_should_show_empty_api_keys_page(
|
||||
client,
|
||||
api_user_pending,
|
||||
api_user_active,
|
||||
mock_login,
|
||||
mock_get_no_api_keys,
|
||||
mock_get_service,
|
||||
mock_has_permissions,
|
||||
):
|
||||
client.login(api_user_pending)
|
||||
client.login(api_user_active)
|
||||
service_id = str(uuid.uuid4())
|
||||
response = client.get(url_for('main.api_keys', service_id=service_id))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user