diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-04-18 07:46:05 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-04-20 12:10:33 +0200 |
| commit | 505fec6badba0622bbf97bb659188c3d62a9bc58 (patch) | |
| tree | ca5c256eb32d7f9906c59652049a45690458b52b /tests/forms_tests | |
| parent | 3152146e3abd029be2457d2e780599d399db0fe2 (diff) | |
Capitalized Unicode in docs, strings, and comments.
Diffstat (limited to 'tests/forms_tests')
| -rw-r--r-- | tests/forms_tests/tests/test_utils.py | 2 | ||||
| -rw-r--r-- | tests/forms_tests/tests/tests.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/forms_tests/tests/test_utils.py b/tests/forms_tests/tests/test_utils.py index c849bfd262..ea0949920e 100644 --- a/tests/forms_tests/tests/test_utils.py +++ b/tests/forms_tests/tests/test_utils.py @@ -59,7 +59,7 @@ class FormsUtilsTestCase(SimpleTestCase): str(ErrorList(ValidationError("There was an error.").messages)), '<ul class="errorlist"><li>There was an error.</li></ul>' ) - # Can take a unicode string. + # Can take a Unicode string. self.assertHTMLEqual( str(ErrorList(ValidationError("Not \u03C0.").messages)), '<ul class="errorlist"><li>Not π.</li></ul>' diff --git a/tests/forms_tests/tests/tests.py b/tests/forms_tests/tests/tests.py index de04e8a3bc..18b4c58b5e 100644 --- a/tests/forms_tests/tests/tests.py +++ b/tests/forms_tests/tests/tests.py @@ -150,7 +150,7 @@ class ModelFormCallableModelDefault(TestCase): class FormsModelTestCase(TestCase): def test_unicode_filename(self): - # FileModel with unicode filename and data ######################### + # FileModel with Unicode filename and data ######################### file1 = SimpleUploadedFile('我隻氣墊船裝滿晒鱔.txt', 'मेरी मँडराने वाली नाव सर्पमीनों से भरी ह'.encode()) f = FileForm(data={}, files={'file1': file1}, auto_id=False) self.assertTrue(f.is_valid()) |
