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

Function test_send_baseline

src/wormhole/test/test_args.py:9–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7from .common import config
8
9def test_send_baseline():
10 cfg = config("send", "--text", "hi")
11 assert cfg.what is None
12 assert cfg.code is None
13 assert cfg.code_length == 2
14 assert cfg.dump_timing is None
15 assert not cfg.hide_progress
16 assert cfg.listen
17 assert cfg.appid is None
18 assert cfg.relay_url == RENDEZVOUS_RELAY
19 assert cfg.transit_helper == TRANSIT_RELAY
20 assert cfg.text == "hi"
21 assert not cfg.tor
22 assert not cfg.verify
23 assert not cfg.zeromode
24
25def test_send_appid():
26 cfg = config("--appid", "xyz", "send", "--text", "hi")

Callers

nothing calls this directly

Calls 1

configFunction · 0.85

Tested by

no test coverage detected