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:
Tim Abbott 2021-07-02 10:48:41 -07:00
parent b9a8fb4453
commit a35b9fd2d9
1 changed files with 1 additions and 0 deletions

View File

@ -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()