mirror of
https://github.com/django/django.git
synced 2025-03-03 13:34:26 +00:00
Fixed typo in tests/i18n/tests.py comment.
This commit is contained in:
parent
ceb5f1c9bf
commit
408ed9fea4
@ -1473,7 +1473,7 @@ class UnprefixedDefaultLanguageTests(SimpleTestCase):
|
|||||||
self.assertEqual(response.content, b'Yes')
|
self.assertEqual(response.content, b'Yes')
|
||||||
|
|
||||||
def test_page_with_dash(self):
|
def test_page_with_dash(self):
|
||||||
# A page starting with /de* shouldn't match the 'de' langauge code.
|
# A page starting with /de* shouldn't match the 'de' language code.
|
||||||
response = self.client.get('/de-simple-page/')
|
response = self.client.get('/de-simple-page/')
|
||||||
self.assertEqual(response.content, b'Yes')
|
self.assertEqual(response.content, b'Yes')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user