From 09d2f0d79d6bfede616ca4d4fb9bd7bfa1c82b0c Mon Sep 17 00:00:00 2001 From: Nicholas Staples Date: Tue, 9 Feb 2016 16:04:49 +0000 Subject: [PATCH] Fix tests. --- tests/app/notifications/test_rest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/app/notifications/test_rest.py b/tests/app/notifications/test_rest.py index 5ce297fe2..1715c7a12 100644 --- a/tests/app/notifications/test_rest.py +++ b/tests/app/notifications/test_rest.py @@ -200,7 +200,7 @@ def test_should_allow_valid_message(notify_api, data=json.dumps(data), headers=[('Content-Type', 'application/json'), auth_header]) - assert response.status_code == 200 + assert response.status_code == 204 @moto.mock_sqs @@ -233,7 +233,7 @@ def test_send_email_valid_data(notify_api, data=json.dumps(data), headers=[('Content-Type', 'application/json'), auth_header]) - assert response.status_code == 200 + assert response.status_code == 204 @moto.mock_sqs @@ -264,7 +264,7 @@ def test_valid_message_with_service_id(notify_api, data=json.dumps(data), headers=[('Content-Type', 'application/json'), auth_header]) - assert response.status_code == 200 + assert response.status_code == 204 @moto.mock_sqs