From 1732415b45ca63fc11202a7bb750b80739b26908 Mon Sep 17 00:00:00 2001 From: Martyn Inglis Date: Mon, 5 Sep 2016 13:38:47 +0100 Subject: [PATCH] Fixed formatting issues --- tests/app/main/views/test_templates.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/app/main/views/test_templates.py b/tests/app/main/views/test_templates.py index 56fe515cf..7320b6e24 100644 --- a/tests/app/main/views/test_templates.py +++ b/tests/app/main/views/test_templates.py @@ -144,10 +144,7 @@ def test_should_not_create_too_big_template(app_, ), data=data) assert resp.status_code == 200 - assert ( - "Content has a character count greater" - " than the limit of 459" - ) in resp.get_data(as_text=True) + assert "Content has a character count greater than the limit of 459" in resp.get_data(as_text=True) def test_should_not_update_too_big_template(app_, @@ -179,10 +176,7 @@ def test_should_not_update_too_big_template(app_, template_id=template_id), data=data) assert resp.status_code == 200 - assert ( - "Content has a character count greater" - " than the limit of 459" - ) in resp.get_data(as_text=True) + assert "Content has a character count greater than the limit of 459" in resp.get_data(as_text=True) def test_should_redirect_when_saving_a_template_email(app_,