tests: don't use network
Some tests failed to override --transit-helper, which meant they intermittently talked to the real transit server (briefly, before deciding the local+direct connection was better).
This commit is contained in:
parent
7ded461342
commit
36cc0e2bca
|
@ -135,7 +135,8 @@ class Scripts(ServerBase, ScriptsBase, unittest.TestCase):
|
|||
f.write(message)
|
||||
|
||||
wormhole = self.find_executable()
|
||||
server_args = ["--relay-url", self.relayurl]
|
||||
server_args = ["--relay-url", self.relayurl,
|
||||
"--transit-helper", self.transit]
|
||||
send_args = server_args + [
|
||||
"send",
|
||||
"--code", code,
|
||||
|
@ -212,7 +213,8 @@ class Scripts(ServerBase, ScriptsBase, unittest.TestCase):
|
|||
os.mkdir(target_parent_dir)
|
||||
|
||||
wormhole = self.find_executable()
|
||||
server_args = ["--relay-url", self.relayurl]
|
||||
server_args = ["--relay-url", self.relayurl,
|
||||
"--transit-helper", self.transit]
|
||||
send_args = server_args + [
|
||||
"send",
|
||||
"--code", code,
|
||||
|
|
Loading…
Reference in New Issue
Block a user