mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
profile_request.py: Fix line with length greater than 120.
This updates file zilencer/management/commands/profile_request.py.
This commit is contained in:
committed by
Tim Abbott
parent
57253c6ba3
commit
230cc228c2
@@ -24,9 +24,11 @@ class MockRequest(HttpRequest):
|
|||||||
self.path = '/'
|
self.path = '/'
|
||||||
self.method = "POST"
|
self.method = "POST"
|
||||||
self.META = {"REMOTE_ADDR": "127.0.0.1"}
|
self.META = {"REMOTE_ADDR": "127.0.0.1"}
|
||||||
self.REQUEST = {"anchor": UserMessage.objects.filter(user_profile=self.user).order_by("-message")[200].message_id,
|
self.REQUEST = {
|
||||||
|
"anchor": UserMessage.objects.filter(user_profile=self.user).order_by("-message")[200].message_id,
|
||||||
"num_before": 1200,
|
"num_before": 1200,
|
||||||
"num_after": 200}
|
"num_after": 200
|
||||||
|
}
|
||||||
self.GET = {} # type: Dict[Any, Any]
|
self.GET = {} # type: Dict[Any, Any]
|
||||||
self.session = MockSession()
|
self.session = MockSession()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user