mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Changed "language-code" to the more commonly used "language code".
This commit is contained in:
committed by
Tim Graham
parent
33ac036a6b
commit
5c4c87e55c
@@ -293,9 +293,7 @@ class URLRedirectWithoutTrailingSlashSettingTests(URLTestCaseBase):
|
||||
|
||||
|
||||
class URLResponseTests(URLTestCaseBase):
|
||||
"""
|
||||
Tests if the response has the right language-code.
|
||||
"""
|
||||
"""Tests if the response has the correct language code."""
|
||||
def test_not_prefixed_with_prefix(self):
|
||||
response = self.client.get('/en/not-prefixed/')
|
||||
self.assertEqual(response.status_code, 404)
|
||||
|
||||
Reference in New Issue
Block a user