Christian Decker
5028f7b9d9
fixup! pylightning: RPC returns a failure if the connection is lost
8 years ago
Christian Decker
9c7c2a3f2f
pytest: Added simple pytest for the new JSON-RPC
8 years ago
Christian Decker
b5c2d7d47d
pytest: Gossip subdaemon had a flaky test
Whenever we were checking for the status before the daemon was
initialized the test would fail. Now just waiting for the state
transition.
8 years ago
Christian Decker
c7e6f197b0
pytest: Chaning startup sentinel for bitcoind.
By looking for 'Done loading' in the log output we should actually be
called after `SetRPCWarmupFinished` in bitcoind. Only then is it safe
to make RPC calls. This resulted in the test suite being a bit flaky.
8 years ago
Rusty Russell
1575181ef5
pytest: don't assume paths of valgrind and bitcoind.
In particular, my bitcoind is in /usr/local/bin
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
8 years ago
Christian Decker
1948062250
pytest: Using python-bitcoinlib instead of python-bitcoinrpc
The latter is unmaintained and has a number of problems.
8 years ago
Christian Decker
180c96776b
pytest: Split the python integration tests into new and legacy
8 years ago
Christian Decker
cf1c03f4d9
pytest: Implemented initial python integration tests.
8 years ago
Christian Decker
41a5e74db9
pytest: Implement utilities for python unittests
8 years ago