core-lightning/tests
Rusty Russell 7986af1b1e pytest: only_one() helper to catch if RPC returns more elements than we expect
I saw an error in test_gossip_weirdalias in Travis, where listnodes(nodeid)
returned *BOTH* nodes; it happened to fail because [0] was the wrong one, but
it would have passed if the order had been different.

This helper asserts that we really do only have one element, and should
catch such bugs faster.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-07-18 15:11:05 +02:00
..
benchmark.py
fixtures.py
requirements.txt
test_closing.py tests: reenable developer tests. 2018-06-13 16:22:23 +02:00
test_gossip.py options: refuse two --announce-addr of the same type. 2018-07-01 15:03:21 +02:00
test_lightningd.py pytest: only_one() helper to catch if RPC returns more elements than we expect 2018-07-18 15:11:05 +02:00
utils.py pytest: make utils.py read config.vars. 2018-07-16 23:16:34 +02:00