summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Sangervasi <s.ebastian.sangervasi@gmail.com>2018-02-21 09:30:56 -0500
committerTim Graham <timograham@gmail.com>2018-02-21 09:31:05 -0500
commit5c4c87e55c096f093a2323bf05b57cc06d93a257 (patch)
tree9a0c1303650fb44a7e527a056b97ea9332ee2d53 /tests
parent33ac036a6bcab64ef93d0185f7b55eb57e559d6e (diff)
Changed "language-code" to the more commonly used "language code".
Diffstat (limited to 'tests')
-rw-r--r--tests/i18n/patterns/tests.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/i18n/patterns/tests.py b/tests/i18n/patterns/tests.py
index 2423614f08..6ed2c4ffeb 100644
--- a/tests/i18n/patterns/tests.py
+++ b/tests/i18n/patterns/tests.py
@@ -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)