Remove print stmts

This commit is contained in:
Rebecca Law
2020-06-17 12:13:49 +01:00
parent a5ed8f2079
commit e22f61977f

View File

@@ -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