diff --git a/tests/app/main/views/test_service_settings.py b/tests/app/main/views/test_service_settings.py
index b5f4473fc..606d4c2c8 100644
--- a/tests/app/main/views/test_service_settings.py
+++ b/tests/app/main/views/test_service_settings.py
@@ -206,7 +206,7 @@ def test_escapes_letter_contact_block(
page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser')
div = str(page.find_all('tr')[5].find_all('td')[1].div)
- assert 'foo
bar' in div
+ assert 'foo
bar' in div
assert '