diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-19 08:07:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 08:07:57 -0400 |
commit | f594e434c35ab99bc71216cbb06082aa2b975980 (patch) | |
tree | 0e074197105d52cffd5879964bc413d2587522f6 /tests/rest/client/v2_alpha | |
parent | Updated docs: Added note about missing 308 redirect support. (#8120) (diff) | |
download | synapse-f594e434c35ab99bc71216cbb06082aa2b975980.tar.xz |
Switch the JSON byte producer from a pull to a push producer. (#8116)
Diffstat (limited to 'tests/rest/client/v2_alpha')
-rw-r--r-- | tests/rest/client/v2_alpha/test_register.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/client/v2_alpha/test_register.py b/tests/rest/client/v2_alpha/test_register.py index 53a43038f0..2fc3a60fc5 100644 --- a/tests/rest/client/v2_alpha/test_register.py +++ b/tests/rest/client/v2_alpha/test_register.py @@ -160,7 +160,7 @@ class RegisterRestServletTestCase(unittest.HomeserverTestCase): else: self.assertEquals(channel.result["code"], b"200", channel.result) - self.reactor.advance(retry_after_ms / 1000.0) + self.reactor.advance(retry_after_ms / 1000.0 + 1.0) request, channel = self.make_request(b"POST", self.url + b"?kind=guest", b"{}") self.render(request) @@ -186,7 +186,7 @@ class RegisterRestServletTestCase(unittest.HomeserverTestCase): else: self.assertEquals(channel.result["code"], b"200", channel.result) - self.reactor.advance(retry_after_ms / 1000.0) + self.reactor.advance(retry_after_ms / 1000.0 + 1.0) request, channel = self.make_request(b"POST", self.url + b"?kind=guest", b"{}") self.render(request) |