Add inlineCallbacks decorator to test_wormholes testcase
This commit is contained in:
parent
13102d3eed
commit
504ddb0d91
|
@ -120,9 +120,10 @@ class Delegated(ServerBase, unittest.TestCase):
|
||||||
class Wormholes(ServerBase, unittest.TestCase):
|
class Wormholes(ServerBase, unittest.TestCase):
|
||||||
# integration test, with a real server
|
# integration test, with a real server
|
||||||
|
|
||||||
|
@inlineCallbacks
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
# test_welcome wants to see [current_cli_version]
|
# 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):
|
def doBoth(self, d1, d2):
|
||||||
return gatherResults([d1, d2], True)
|
return gatherResults([d1, d2], True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user