This commit is contained in:
Athanasios Voutsadakis
2017-11-14 16:02:56 +00:00
parent 5f1146208d
commit 7a24cd8753
2 changed files with 3 additions and 3 deletions

View File

@@ -26,6 +26,6 @@ notifications-python-client==4.6.0
awscli>=1.11,<1.12 awscli>=1.11,<1.12
awscli-cwlogs>=1.4,<1.5 awscli-cwlogs>=1.4,<1.5
git+https://github.com/alphagov/notifications-utils.git@22.0.0#egg=notifications-utils==20.0.0 git+https://github.com/alphagov/notifications-utils.git@22.0.0#egg=notifications-utils==22.0.0
git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3 git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3

View File

@@ -386,7 +386,7 @@ def test_route_correct_secret_key(notify_api, client):
response = client.get( response = client.get(
path='/_status', path='/_status',
headers=[ headers=[
('X-Custom-forwarder', 'key_1'), ('X-Custom-Forwarder', 'key_1'),
] ]
) )
assert response.status_code == 200 assert response.status_code == 200
@@ -402,7 +402,7 @@ def test_route_incorrect_secret_key(notify_api, client):
response = client.get( response = client.get(
path='/_status', path='/_status',
headers=[ headers=[
('X-Custom-forwarder', 'wrong_key'), ('X-Custom-Forwarder', 'wrong_key'),
] ]
) )
assert response.status_code == 403 assert response.status_code == 403