diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-01-11 07:35:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 07:35:40 -0500 |
commit | 7f2cabf271e6027da4001571b9e6584ade3c2c8c (patch) | |
tree | 74c3363d48a65ee5b858974ddd2c99302cd7b3c8 /tests/push/test_http.py | |
parent | Add index to improve performance of the `/timestamp_to_event` endpoint used f... (diff) | |
download | synapse-7f2cabf271e6027da4001571b9e6584ade3c2c8c.tar.xz |
Fix-up type hints for tests.push module. (#14816)
Diffstat (limited to 'tests/push/test_http.py')
-rw-r--r-- | tests/push/test_http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/push/test_http.py b/tests/push/test_http.py index afaafe79aa..23447cc310 100644 --- a/tests/push/test_http.py +++ b/tests/push/test_http.py @@ -46,7 +46,7 @@ class HTTPPusherTests(HomeserverTestCase): m = Mock() - def post_json_get_json(url, body): + def post_json_get_json(url: str, body: JsonDict) -> Deferred: d: Deferred = Deferred() self.push_attempts.append((d, url, body)) return make_deferred_yieldable(d) |