From e22f61977fd13a13b7bacc8bbe8b8d443674a3d2 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Wed, 17 Jun 2020 12:13:49 +0100 Subject: [PATCH] Remove print stmts --- tests/app/v2/notifications/test_post_notifications.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/app/v2/notifications/test_post_notifications.py b/tests/app/v2/notifications/test_post_notifications.py index 2fcfcaafb..4ccbf6096 100644 --- a/tests/app/v2/notifications/test_post_notifications.py +++ b/tests/app/v2/notifications/test_post_notifications.py @@ -44,15 +44,14 @@ def test_post_sms_notification_returns_201(client, sample_template_with_placehol if reference: data.update({"reference": reference}) auth_header = create_authorization_header(service_id=sample_template_with_placeholders.service_id) - print("********* Start") + response = client.post( path='/v2/notifications/sms', data=json.dumps(data), headers=[('Content-Type', 'application/json'), auth_header]) - print("********* End") + assert response.status_code == 201 resp_json = json.loads(response.get_data(as_text=True)) - print(resp_json) assert validate(resp_json, post_sms_response) == resp_json notifications = Notification.query.all() assert len(notifications) == 1