mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Remove redundant test
This looks like I accidentally copy pasted this (along with some stuff
that was meant to come over) as part of 22fe164711
This commit is contained in:
@@ -17,21 +17,6 @@ def no_redirect():
|
|||||||
return lambda _external=True: None
|
return lambda _external=True: None
|
||||||
|
|
||||||
|
|
||||||
def test_logged_in_user_redirects_to_choose_service(app_,
|
|
||||||
api_user_active,
|
|
||||||
mock_get_user,
|
|
||||||
mock_get_user_by_email,
|
|
||||||
mock_login):
|
|
||||||
with app_.test_request_context():
|
|
||||||
with app_.test_client() as client:
|
|
||||||
client.login(api_user_active)
|
|
||||||
response = client.get(url_for('main.index'))
|
|
||||||
assert response.status_code == 302
|
|
||||||
|
|
||||||
response = client.get(url_for('main.sign_in', follow_redirects=True))
|
|
||||||
assert response.location == url_for('main.choose_service', _external=True)
|
|
||||||
|
|
||||||
|
|
||||||
def test_get_support_index_page(client):
|
def test_get_support_index_page(client):
|
||||||
resp = client.get(url_for('main.support'))
|
resp = client.get(url_for('main.support'))
|
||||||
assert resp.status_code == 200
|
assert resp.status_code == 200
|
||||||
|
|||||||
Reference in New Issue
Block a user