summaryrefslogtreecommitdiff
path: root/tests/view_tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/view_tests')
-rw-r--r--tests/view_tests/__init__.py2
-rw-r--r--tests/view_tests/tests/test_defaults.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/view_tests/__init__.py b/tests/view_tests/__init__.py
index b031e205e0..371ab40b40 100644
--- a/tests/view_tests/__init__.py
+++ b/tests/view_tests/__init__.py
@@ -7,5 +7,5 @@ class BrokenException(Exception):
except_args = (b'Broken!', # plain exception with ASCII text
'¡Broken!', # non-ASCII unicode data
- '¡Broken!'.encode('utf-8'), # non-ASCII, utf-8 encoded bytestring
+ '¡Broken!'.encode('utf-8'), # non-ASCII, utf-8 encoded bytestring
b'\xa1Broken!', ) # non-ASCII, latin1 bytestring
diff --git a/tests/view_tests/tests/test_defaults.py b/tests/view_tests/tests/test_defaults.py
index 13e56d604b..128fb7cb07 100644
--- a/tests/view_tests/tests/test_defaults.py
+++ b/tests/view_tests/tests/test_defaults.py
@@ -10,8 +10,8 @@ from ..models import UrlArticle
class DefaultsTests(TestCase):
"""Test django views in django/views/defaults.py"""
fixtures = ['testdata.json']
- non_existing_urls = ['/views/non_existing_url/', # this is in urls.py
- '/views/other_non_existing_url/'] # this NOT in urls.py
+ non_existing_urls = ['/views/non_existing_url/', # this is in urls.py
+ '/views/other_non_existing_url/'] # this NOT in urls.py
def test_page_not_found(self):
"A 404 status is returned by the page_not_found view"