summaryrefslogtreecommitdiff
path: root/tests/modeladmin
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modeladmin')
-rw-r--r--tests/modeladmin/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/modeladmin/tests.py b/tests/modeladmin/tests.py
index c9bbfc8d0e..3ba497d100 100644
--- a/tests/modeladmin/tests.py
+++ b/tests/modeladmin/tests.py
@@ -30,6 +30,7 @@ class MockSuperUser(object):
def has_perm(self, perm):
return True
+
request = MockRequest()
request.user = MockSuperUser()