mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-20 10:55:09 +03:00
Remove yield
This commit is contained in:
parent
e2bc9af798
commit
ec67848235
1 changed files with 0 additions and 3 deletions
|
@ -99,9 +99,6 @@ class FederationClientTests(HomeserverTestCase):
|
||||||
# Deferred is still without a result
|
# Deferred is still without a result
|
||||||
self.assertNoResult(test_d)
|
self.assertNoResult(test_d)
|
||||||
|
|
||||||
# Ensure deferred resolves
|
|
||||||
yield test_d
|
|
||||||
|
|
||||||
# Send it the HTTP response
|
# Send it the HTTP response
|
||||||
res_json = '{ "a": 1 }'.encode('ascii')
|
res_json = '{ "a": 1 }'.encode('ascii')
|
||||||
protocol.dataReceived(
|
protocol.dataReceived(
|
||||||
|
|
Loading…
Reference in a new issue