Add inlineCallbacks decorator to test_wormholes testcase

This commit is contained in:
Mario Rodas 2018-11-19 23:22:54 -05:00
parent 13102d3eed
commit 504ddb0d91

View File

@ -120,9 +120,10 @@ class Delegated(ServerBase, unittest.TestCase):
class Wormholes(ServerBase, unittest.TestCase):
# integration test, with a real server
@inlineCallbacks
def setUp(self):
# test_welcome wants to see [current_cli_version]
self._setup_relay(None, advertise_version="advertised.version")
yield self._setup_relay(None, advertise_version="advertised.version")
def doBoth(self, d1, d2):
return gatherResults([d1, d2], True)