mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
14 lines
516 B
Python
14 lines
516 B
Python
from flask import url_for
|
|
|
|
|
|
def test_should_show_api_keys_and_documentation_page(app_,
|
|
db_,
|
|
db_session,
|
|
active_user):
|
|
with app_.test_request_context():
|
|
with app_.test_client() as client:
|
|
client.login(active_user)
|
|
response = client.get(url_for('main.api_keys', service_id=123))
|
|
|
|
assert response.status_code == 200
|