204 Commits (b2ec5a9f451a9d347f5836efad889d5cd351f9bd)

Author SHA1 Message Date
Christian Decker 90f74907f9 pytest: Use the file object and don't use print without line-endings 6 years ago
Christian Decker d3731b08b1 pytest: Migrate all remaining tests into test_misc.py 6 years ago
Christian Decker 58709cf190 pytest: Migrate connection tests to new fixture model 6 years ago
Christian Decker 19092a8f1b pytest: Migrate close and onchain tests to test_closing.py 6 years ago
Christian Decker 605bf8c89d pytest: Migrate the gossip related tests to the new fixture model 6 years ago
Christian Decker 2e26d4fc42 pytest: Migrate payment related tests to use modern fixtures 6 years ago
Christian Decker 2c77fc5bf2 pytest: Add a helper to determine a node's peer channel state 6 years ago
Christian Decker 88217369c2 pytest: Move NodeFactory to utils.py 6 years ago
Rusty Russell 6e10237d10 pytest: allow db_query to manipulate db. 7 years ago
Rusty Russell edf043c89b pytest: make utils.py read config.vars. 7 years ago
Rusty Russell e6f31b3c66 pytest: allow duplicated options. 7 years ago
Rusty Russell ce5b4bddf2 tests: fix to work with bitcoind master branch. 7 years ago
Rusty Russell 91d62ad697 pytest: create only a single config file. 7 years ago
Rusty Russell 2375302534 pytest: move regtest argument into config file. 7 years ago
Christian Decker e556bf4f36 pytest: Disable DNS lookups during test runs 7 years ago
Rusty Russell 383b309a00 utils: make subd_pid return the *last* pid, in case we restarted daemon. 7 years ago
Rusty Russell 498ad91318 tests: new helper to get pid of a particular subdaemon. 7 years ago
Christian Decker 27a186be9c pytest: Stabilize LightningNode.openchannel for multiple channels 7 years ago
Christian Decker 202ce5e4ea pytest: Replace wait_for_channels with an actual check 7 years ago
Christian Decker 2e8b3066e4 pytest: Filter out some unimportant log lines 7 years ago
Rusty Russell a2dc3d02a8 locktime-blocks: rename to watchtime-blocks. 7 years ago
Rusty Russell 0aa22741df option cleanup: --dev-override-fee-rates 7 years ago
Rusty Russell c8cc8fd83f option cleanup: --dev-bitcoind-poll 7 years ago
Rusty Russell cdded4f53d tests/utils.py: make default timeout configurable via $TIMEOUT 7 years ago
Rusty Russell d40d22b68e gossipd: don't try to connect to non-routable addresses. 7 years ago
Rusty Russell af065417e1 gossipd: handle wildcard addresses correctly. 7 years ago
Rusty Russell fe96fe10c7 Clean up network options. 7 years ago
Rusty Russell 6ba9a7cb57 tests/test_lightningd.py: move port into node. 7 years ago
Rusty Russell 7d27501c94 tests/utils.py: remove unused connect routine. 7 years ago
Christian Decker 6231e9969f pytest: Give lightningd nodes a numeric ID to prefix logs 7 years ago
Christian Decker 071ef628db pytest: Use random ports for bitcoind and lightningd to allow parallel testing 7 years ago
Christian Decker e3bac12683 pytest: Allow stdout to be dropped for bitcoind 7 years ago
Christian Decker 81b715aae9 pytest: Move wait_for to utils.py and make fund_channel a member 7 years ago
Rusty Russell ac51231166 lightningd: remove --dev-hsm-seed option. 7 years ago
Christian Decker ac9e5581c8 pytest: Start nodes with --rescan=1 7 years ago
Rusty Russell d0bfd8407a test_lightningd.py: catch unexpected reconnections. 7 years ago
Christian Decker 4da3d407b4 pytest: Use a dict to pass options to lightningd 7 years ago
Rusty Russell a077c3defb lightningd: test for weird aliases. 7 years ago
practicalswift d2109bfe0c Fix flake8 warnings 7 years ago
practicalswift ae7d857c44 Make Python code conform to the Python PEP 8 style guide 7 years ago
Rusty Russell d47d85fa30 wallet: add list of upgrades. 7 years ago
William Casarin 3d27bbb47d test: test_bech32_funding 7 years ago
cornwarecjp 6112df3a90 Bring back the time-out on the start-up of bitcoind, but make it 60 seconds instead of the original 10 seconds. This is much larger than the normal start-up time of bitcoind (so we should never hit the time-out), but still lets a test terminate in a reasonable time in the unlikely case that bitcoind hangs. 7 years ago
cornwarecjp 896f7ef37d Make it possible to run the test suite in Python 3.4 (bytes.hex was introduced in 3.5) 7 years ago
cornwarecjp 0b0708d86a Bitcoind should always eventually finish starting, but there is no guarantee on how long it takes, so don't apply a time-out. In case bitcoind hangs indefinitely, the test will hang indefinitely too, but this should be solved in bitcoind, not in the test code. 7 years ago
Rusty Russell 0d3eaef945 tests: add argument to is_in_log so we can check only recent log entries. 7 years ago
practicalswift 7e8f1945f2 Adjust tests to new log text 7 years ago
practicalswift 689db5b7c1 Onboarding: Make log output texts friendlier to new users 7 years ago
Christian Decker 45c935ddba pytest: Have the db_query helper work on a copy of the DB 7 years ago
Christian Decker dafd000c2a pytest: Check that we disable on closing and permfail. 7 years ago