diff options
author | Sean Quah <seanq@element.io> | 2022-04-28 16:39:08 +0100 |
---|---|---|
committer | Sean Quah <seanq@element.io> | 2022-04-28 19:28:00 +0100 |
commit | 3544cfdaa192831cc59684abd5618d7748bd6f1f (patch) | |
tree | 9be41b9ce6e693666cb246093eca5529072aef9d | |
parent | Test the `@cancellable` flag on `ReplicationEndpoint._handle_request` (diff) | |
download | synapse-3544cfdaa192831cc59684abd5618d7748bd6f1f.tar.xz |
Fix `make_signed_federation_request` turning empty dicts into `b""`
Signed-off-by: Sean Quah <seanq@element.io>
-rw-r--r-- | tests/unittest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittest.py b/tests/unittest.py index 9afa68c164..e7f255b4fa 100644 --- a/tests/unittest.py +++ b/tests/unittest.py @@ -831,7 +831,7 @@ class FederatingHomeserverTestCase(HomeserverTestCase): self.site, method=method, path=path, - content=content or "", + content=content if content is not None else "", shorthand=False, await_result=await_result, custom_headers=custom_headers, |