mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +01:00
pytest: Add an RPC proxy inbetween bitcoind and bitcoin-cli
This is a simple reverse proxy that `bitcoin-cli` can talk to when invoked by `lightningd`. It allows us to trace `bitcoin-cli` calls, and intercept calls to mock the replies, better than the current bash-script based method.
This commit is contained in:
@@ -570,8 +570,6 @@ def test_listconfigs(node_factory, bitcoind):
|
||||
|
||||
configs = l1.rpc.listconfigs()
|
||||
# See utils.py
|
||||
assert configs['bitcoin-datadir'] == bitcoind.bitcoin_dir
|
||||
assert configs['lightning-dir'] == l1.daemon.lightning_dir
|
||||
assert configs['allow-deprecated-apis'] is False
|
||||
assert configs['network'] == 'regtest'
|
||||
assert configs['ignore-fee-limits'] is False
|
||||
|
||||
Reference in New Issue
Block a user