summaryrefslogtreecommitdiff
path: root/tests/view_tests
diff options
context:
space:
mode:
authorcoagulant <baryshev@gmail.com>2013-11-03 01:02:56 +0400
committerJason Myers <jason@jasonamyers.com>2013-11-02 23:50:33 -0500
commit8eec2d93b6e93b8a1107fb3de2acd68d6994d6ec (patch)
treedee448f4b73c925b10871f4fbe7d601f5feb576b /tests/view_tests
parentc3791463a5a9674f8e0148fbab57eae23c138896 (diff)
Fixed all E261 warnings
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"