diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index a38ce93219..564e6104d7 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -2628,7 +2628,7 @@ class AdminCustomQuerysetTest(TestCase):
# Message should contain non-ugly model verbose name
self.assertContains(
response,
- '
The cover letter "Candidate, Best" was added successfully.',
+ 'The cover letter "Candidate, Best" was added successfully.',
html=True
)
@@ -2646,7 +2646,7 @@ class AdminCustomQuerysetTest(TestCase):
# Message should contain non-ugly model verbose name
self.assertContains(
response,
- 'The short message "ShortMessage object" was added successfully.',
+ 'The short message "ShortMessage object" was added successfully.',
html=True
)
@@ -2667,7 +2667,7 @@ class AdminCustomQuerysetTest(TestCase):
# Message should contain non-ugly model verbose name
self.assertContains(
response,
- 'The telegram "Urgent telegram" was added successfully.',
+ 'The telegram "Urgent telegram" was added successfully.',
html=True
)
@@ -2685,7 +2685,7 @@ class AdminCustomQuerysetTest(TestCase):
# Message should contain non-ugly model verbose name
self.assertContains(
response,
- 'The paper "Paper object" was added successfully.',
+ 'The paper "Paper object" was added successfully.',
html=True
)
@@ -2710,7 +2710,7 @@ class AdminCustomQuerysetTest(TestCase):
# representation is set by model's __unicode__()
self.assertContains(
response,
- 'The cover letter "John Doe II" was changed successfully.',
+ 'The cover letter "John Doe II" was changed successfully.',
html=True
)
@@ -2732,7 +2732,7 @@ class AdminCustomQuerysetTest(TestCase):
# instance representation is set by six.text_type()
self.assertContains(
response,
- 'The short message "ShortMessage_Deferred_timestamp object" was changed successfully.',
+ 'The short message "ShortMessage_Deferred_timestamp object" was changed successfully.',
html=True
)
@@ -2757,7 +2757,7 @@ class AdminCustomQuerysetTest(TestCase):
# representation is set by model's __unicode__()
self.assertContains(
response,
- 'The telegram "Telegram without typo" was changed successfully.',
+ 'The telegram "Telegram without typo" was changed successfully.',
html=True
)
@@ -2779,7 +2779,7 @@ class AdminCustomQuerysetTest(TestCase):
# instance representation is set by six.text_type()
self.assertContains(
response,
- 'The paper "Paper_Deferred_author object" was changed successfully.',
+ 'The paper "Paper_Deferred_author object" was changed successfully.',
html=True
)