summaryrefslogtreecommitdiff
path: root/tests/flatpages_tests
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-06-27 09:39:47 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-06-28 16:46:18 +0200
commit42b9a23267f14be39b9b00958e18d5746783208e (patch)
treef19f6a2cd70025744ad9d668a15a0c0a5ed8aac3 /tests/flatpages_tests
parent2b03e8e9e8205ae3a3aa128764277e70b7c30803 (diff)
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
Diffstat (limited to 'tests/flatpages_tests')
-rw-r--r--tests/flatpages_tests/test_forms.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/flatpages_tests/test_forms.py b/tests/flatpages_tests/test_forms.py
index ce9bf449ce..e8ba462ec7 100644
--- a/tests/flatpages_tests/test_forms.py
+++ b/tests/flatpages_tests/test_forms.py
@@ -51,8 +51,8 @@ class FlatpageAdminFormTests(TestCase):
with translation.override('en'):
self.assertEqual(
form.fields['url'].help_text,
- "Example: '/about/contact/'. Make sure to have leading and "
- "trailing slashes."
+ 'Example: “/about/contact/”. Make sure to have leading and '
+ 'trailing slashes.'
)
self.assertFalse(form.is_valid())
self.assertEqual(form.errors['url'], ["URL is missing a trailing slash."])
@@ -64,7 +64,7 @@ class FlatpageAdminFormTests(TestCase):
with translation.override('en'):
self.assertEqual(
form.fields['url'].help_text,
- "Example: '/about/contact'. Make sure to have a leading slash."
+ 'Example: “/about/contact”. Make sure to have a leading slash.'
)
def test_flatpage_admin_form_url_uniqueness_validation(self):