From 504ddb0d9159d827efb25aae940556c9c060ba51 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 19 Nov 2018 23:22:54 -0500 Subject: [PATCH] Add inlineCallbacks decorator to test_wormholes testcase --- src/wormhole/test/test_wormhole.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wormhole/test/test_wormhole.py b/src/wormhole/test/test_wormhole.py index 0362c65..31e65f9 100644 --- a/src/wormhole/test/test_wormhole.py +++ b/src/wormhole/test/test_wormhole.py @@ -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)