(*argv)
| 139 | |
| 140 | |
| 141 | def 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 | |
| 154 | async def poll_until(predicate): |
no outgoing calls