rgb-cln/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 pytest: Actually wait for payments to confirm in benchmark 2018-05-23 00:20:19 +00:00
fixtures.py Makefile: import config.vars. 2018-06-08 17:56:01 +02:00
requirements.txt pytest: Add flaky dependency and mark as test_closing_different_fees 2018-05-07 02:40:50 +00:00
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