mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 08:21:13 -05:00
remove broadcast-related code, except migrations
This commit is contained in:
@@ -78,14 +78,6 @@ def test_requires_admin_auth_should_allow_valid_token_for_request(client):
|
||||
assert response.status_code == 200
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Needs updating for TTS")
|
||||
def test_requires_govuk_alerts_auth_should_allow_valid_token_for_request(client):
|
||||
jwt_client_id = current_app.config['GOVUK_ALERTS_CLIENT_ID']
|
||||
header = create_internal_authorization_header(jwt_client_id)
|
||||
response = client.get('/govuk-alerts', headers=[header])
|
||||
assert response.status_code == 200
|
||||
|
||||
|
||||
def test_get_auth_token_should_not_allow_request_with_no_token(client):
|
||||
request.headers = {}
|
||||
with pytest.raises(AuthError) as exc:
|
||||
|
||||
Reference in New Issue
Block a user