mirror of https://github.com/zulip/zulip.git
profile_request: Specify self.POST in mock request.
This file is a hack, so this is likely not fully correct, but it makes it run and provide useful profiles.
This commit is contained in:
parent
b9a8fb4453
commit
a35b9fd2d9
|
@ -33,6 +33,7 @@ class MockRequest(HttpRequest):
|
|||
"num_before": 1200,
|
||||
"num_after": 200,
|
||||
}
|
||||
self.POST = self.REQUEST
|
||||
self.GET: Dict[Any, Any] = {}
|
||||
self.session = MockSession()
|
||||
|
||||
|
|
Loading…
Reference in New Issue