summaryrefslogtreecommitdiff
path: root/tests/admin_ordering
diff options
context:
space:
mode:
authorRamin Farajpour Cami <ramin.blackhat@gmail.com>2016-11-12 20:41:23 +0330
committerTim Graham <timograham@gmail.com>2016-11-14 12:30:46 -0500
commit967be82443b5640d61608a89897d8ce2bc44fa54 (patch)
tree9905e1156e27aa3d1226da3dde1223a5087b0d55 /tests/admin_ordering
parent6072de727f0ffa7bf0aa67aadba5d4589561974d (diff)
downloaddjango-967be82443b5640d61608a89897d8ce2bc44fa54.tar.gz
Fixed E305 flake8 warnings.
Diffstat (limited to 'tests/admin_ordering')
-rw-r--r--tests/admin_ordering/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/admin_ordering/tests.py b/tests/admin_ordering/tests.py
index 44d7beb368..def9b8b7c7 100644
--- a/tests/admin_ordering/tests.py
+++ b/tests/admin_ordering/tests.py
@@ -22,6 +22,7 @@ class MockSuperUser(object):
def has_module_perms(self, module):
return True
+
request = MockRequest()
request.user = MockSuperUser()