core-lightning/tests
Christian Decker e2f9a410f4 pytest: Run plugin --help tests in the test directory
This is a followup to #2892. Since we now attempt to lock the PID file before
starting plugins we need to make sure that we actually use a unique lightning
directory for anything that attempts to call `--help`. If not we may be
conflicting with a `lightningd` that is running against that directory.

Notice that this still means that we will be unable to call `--help` on
`lightningd` if we have a running instance, but isolation in this case is
good, otherwise we'd be reading the default config anyway.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-08-06 13:10:32 +08:00
..
data pytest: test starting with db corrupted by dangling peer. 2019-02-21 12:03:54 +01:00
plugins pylightning: Warn users of plugins that may break due to extra args 2019-08-05 00:19:48 +00:00
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
btcproxy.py pytest: create proper mock failures. 2019-01-29 04:50:01 +00:00
conftest.py pytest: Pass result to fixtures and keep directories of failed tests 2018-08-07 00:54:19 +00:00
fixtures.py pytest: fail tests if we get any LOG_BROKEN level messages, unless flagged. 2019-07-02 03:26:10 +00:00
requirements.txt added mako dependency to tests/requirements.txt 2019-07-31 07:46:49 +08:00
test_closing.py pytest: use absolute paths for plugin arguments. 2019-08-03 09:10:11 +00:00
test_connection.py pytest: test_fee_limits, add case where opening channel is denied when feerate is too low 2019-07-27 05:14:34 +00:00
test_db.py db: fix dangling peers on db upgrade. 2019-02-21 12:03:54 +01:00
test_gossip.py gossipd/routing.c: Correctly handle a duplicated entry in exclude of getroute. 2019-08-02 16:06:15 +02:00
test_invoices.py bolt11: fix decoding and encoding of unknown fields. 2019-05-10 11:25:36 +00:00
test_misc.py lightningd: simplify --daemon. 2019-08-04 21:29:03 +02:00
test_pay.py pytest: use absolute paths for plugin arguments. 2019-08-03 09:10:11 +00:00
test_plugin.py pytest: Run plugin --help tests in the test directory 2019-08-06 13:10:32 +08:00
test_wallet.py wallet: clean reserved inputs on startup. 2019-06-06 04:47:44 +00:00
utils.py pytest: fail tests if we get any LOG_BROKEN level messages, unless flagged. 2019-07-02 03:26:10 +00:00