Fixed typo in tests/i18n/tests.py comment.

This commit is contained in:
Jaap Roes 2017-07-10 18:08:57 +02:00 committed by Tim Graham
parent ceb5f1c9bf
commit 408ed9fea4
1 changed files with 1 additions and 1 deletions

View File

@ -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')