test_helpers: Remove unnecessary HostRequestMock.body override.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-09-08 11:29:12 -07:00
committed by Anders Kaseorg
parent b4a2e71b6b
commit e245f51974
4 changed files with 14 additions and 22 deletions

View File

@@ -372,14 +372,6 @@ class HostRequestMock(HttpRequest):
),
)
@property
def body(self) -> bytes:
return super().body
@body.setter
def body(self, val: bytes) -> None:
self._body = val
def get_host(self) -> str:
return self.host