profile_request.py: Fix line with length greater than 120.

This updates file zilencer/management/commands/profile_request.py.
This commit is contained in:
Taranjeet Singh 2016-08-13 20:26:15 +05:30 committed by Tim Abbott
parent 57253c6ba3
commit 230cc228c2
1 changed files with 5 additions and 3 deletions

View File

@ -24,9 +24,11 @@ class MockRequest(HttpRequest):
self.path = '/'
self.method = "POST"
self.META = {"REMOTE_ADDR": "127.0.0.1"}
self.REQUEST = {"anchor": UserMessage.objects.filter(user_profile=self.user).order_by("-message")[200].message_id,
"num_before": 1200,
"num_after": 200}
self.REQUEST = {
"anchor": UserMessage.objects.filter(user_profile=self.user).order_by("-message")[200].message_id,
"num_before": 1200,
"num_after": 200
}
self.GET = {} # type: Dict[Any, Any]
self.session = MockSession()