mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
test_helpers: Remove unnecessary HostRequestMock.body override.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
b4a2e71b6b
commit
e245f51974
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user