diff options
author | Alasdair Nicol <alasdair@memset.com> | 2013-10-17 09:17:41 +0100 |
---|---|---|
committer | Alasdair Nicol <alasdair@memset.com> | 2013-10-17 12:12:40 +0100 |
commit | eb214452c3b1dc399b629aabea926e27b5538c52 (patch) | |
tree | 536f8b22d44830900fa824c01ba87ccdf7ba7cda /tests/decorators | |
parent | 650b6fd90efea058c54800d2ba0e0976547894a3 (diff) | |
download | django-eb214452c3b1dc399b629aabea926e27b5538c52.tar.gz |
Fixed #21270 -- Fixed E701 pep8 warnings
Diffstat (limited to 'tests/decorators')
-rw-r--r-- | tests/decorators/tests.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/decorators/tests.py b/tests/decorators/tests.py index 2aaea49500..66a98faaf6 100644 --- a/tests/decorators/tests.py +++ b/tests/decorators/tests.py @@ -94,8 +94,11 @@ class DecoratorsTest(TestCase): callback = user_passes_test(test1)(callback) callback = user_passes_test(test2)(callback) - class DummyUser(object): pass - class DummyRequest(object): pass + class DummyUser(object): + pass + + class DummyRequest(object): + pass request = DummyRequest() request.user = DummyUser() |