summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_validators.py
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/auth_tests/test_validators.py
parent2b03e8e9e8205ae3a3aa128764277e70b7c30803 (diff)
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
Diffstat (limited to 'tests/auth_tests/test_validators.py')
-rw-r--r--tests/auth_tests/test_validators.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auth_tests/test_validators.py b/tests/auth_tests/test_validators.py
index 87e3f890bb..393fbdd39c 100644
--- a/tests/auth_tests/test_validators.py
+++ b/tests/auth_tests/test_validators.py
@@ -178,7 +178,7 @@ class UserAttributeSimilarityValidatorTest(TestCase):
def test_help_text(self):
self.assertEqual(
UserAttributeSimilarityValidator().get_help_text(),
- "Your password can't be too similar to your other personal information."
+ 'Your password can’t be too similar to your other personal information.'
)
@@ -210,7 +210,7 @@ class CommonPasswordValidatorTest(SimpleTestCase):
def test_help_text(self):
self.assertEqual(
CommonPasswordValidator().get_help_text(),
- "Your password can't be a commonly used password."
+ 'Your password can’t be a commonly used password.'
)
@@ -227,7 +227,7 @@ class NumericPasswordValidatorTest(SimpleTestCase):
def test_help_text(self):
self.assertEqual(
NumericPasswordValidator().get_help_text(),
- "Your password can't be entirely numeric."
+ 'Your password can’t be entirely numeric.'
)