Commit 7bfe24d0 authored by Michal Čihař's avatar Michal Čihař

Silent pylint

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 8c75f119
......@@ -58,6 +58,7 @@ class MiddlewareTest(TestCase):
middleware.process_view(request, self.view_method, (), {})
)
# Protection for protected path and not logged in user
# pylint: disable=R0204
request.user = AnonymousUser()
self.assertIsInstance(
middleware.process_view(request, self.view_method, (), {}),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment