diff options
author | Ramin Farajpour Cami <ramin.blackhat@gmail.com> | 2016-11-12 20:41:23 +0330 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-11-14 12:30:46 -0500 |
commit | 967be82443b5640d61608a89897d8ce2bc44fa54 (patch) | |
tree | 9905e1156e27aa3d1226da3dde1223a5087b0d55 /tests/admin_ordering | |
parent | 6072de727f0ffa7bf0aa67aadba5d4589561974d (diff) | |
download | django-967be82443b5640d61608a89897d8ce2bc44fa54.tar.gz |
Fixed E305 flake8 warnings.
Diffstat (limited to 'tests/admin_ordering')
-rw-r--r-- | tests/admin_ordering/tests.py | 1 |
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() |