MCPcopy
hub / github.com/magic-wormhole/magic-wormhole / config

Function config

src/wormhole/test/common.py:141–151  ·  view source on GitHub ↗
(*argv)

Source from the content-addressed store, hash-verified

139
140
141def config(*argv):
142 r = CliRunner()
143 with mock.patch("wormhole.cli.cli.go") as go:
144 res = r.invoke(cli.wormhole, argv, catch_exceptions=False)
145 if res.exit_code != 0:
146 print(res.exit_code)
147 print(res.output)
148 print(res)
149 assert 0
150 cfg = go.call_args[0][1]
151 return cfg
152
153
154async def poll_until(predicate):

Callers 15

create_configFunction · 0.85
_do_testFunction · 0.85
_do_test_failFunction · 0.85
test_text_poniesFunction · 0.85
unwelcome_configFunction · 0.85
test_senderFunction · 0.85
test_sender_allocationFunction · 0.85
test_receiverFunction · 0.85
create_named_configFunction · 0.85
test_send_baselineFunction · 0.85
test_send_appidFunction · 0.85
test_send_fileFunction · 0.85

Calls

no outgoing calls

Tested by 15

create_configFunction · 0.68
_do_testFunction · 0.68
_do_test_failFunction · 0.68
test_text_poniesFunction · 0.68
unwelcome_configFunction · 0.68
test_senderFunction · 0.68
test_sender_allocationFunction · 0.68
test_receiverFunction · 0.68
create_named_configFunction · 0.68
test_send_baselineFunction · 0.68
test_send_appidFunction · 0.68
test_send_fileFunction · 0.68