mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user