mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
pytest: Updated requirements.txt to latest versions
This is an issue that was raised in #2665: some of the dependencies where causing warnings to be added to the logs about deprecated dependencies. Since I did not get these warnings I just blanket updated all the dependencies in the hopes of getting the warnings to resolve. Signed-off-by: Christian Decker <@cdecker>
This commit is contained in:
parent
c3254e6639
commit
245dff26e0
3 changed files with 13 additions and 15 deletions
|
@ -1,14 +1,12 @@
|
|||
flake8==3.6.0
|
||||
pytest==4.1.1
|
||||
CherryPy==18.1.0
|
||||
Flask==1.0.2
|
||||
cheroot==6.5.4
|
||||
ephemeral-port-reserve==1.1.0
|
||||
flaky==3.5.3
|
||||
mako==1.0.14
|
||||
flake8==3.7.8
|
||||
pytest==5.0.1
|
||||
Flask==1.1.1
|
||||
cheroot==6.5.5
|
||||
ephemeral-port-reserve==1.1.1
|
||||
flaky==3.6.0
|
||||
pytest-benchmark==3.2.2
|
||||
pytest-forked==1.0.1
|
||||
pytest-xdist==1.26.0
|
||||
pytest-forked==1.0.2
|
||||
pytest-xdist==1.29.0
|
||||
python-bitcoinlib==0.10.1
|
||||
tqdm==4.29.1
|
||||
tqdm==4.32.2
|
||||
pytest-timeout==1.3.3
|
||||
|
|
|
@ -893,8 +893,8 @@ def test_funding_reorg_remote_lags(node_factory, bitcoind):
|
|||
|
||||
# Make l2 temporary blind for blocks > 107
|
||||
def no_more_blocks(req):
|
||||
return {"result": None,
|
||||
"error": {"code": -8, "message": "Block height out of range"}, "id": req['id']}
|
||||
return {"result": None,
|
||||
"error": {"code": -8, "message": "Block height out of range"}, "id": req['id']}
|
||||
|
||||
l2.daemon.rpcproxy.mock_rpc('getblockhash', no_more_blocks)
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ def get_tx_p2wsh_outnum(bitcoind, tx, amount):
|
|||
for out in decoded['vout']:
|
||||
if out['scriptPubKey']['type'] == 'witness_v0_scripthash':
|
||||
if out['value'] == Decimal(amount) / 10**8:
|
||||
return out['n']
|
||||
return out['n']
|
||||
|
||||
return None
|
||||
|
||||
|
@ -465,7 +465,7 @@ class LightningNode(object):
|
|||
self.allow_bad_gossip = allow_bad_gossip
|
||||
|
||||
def connect(self, remote_node):
|
||||
self.rpc.connect(remote_node.info['id'], '127.0.0.1', remote_node.daemon.port)
|
||||
self.rpc.connect(remote_node.info['id'], '127.0.0.1', remote_node.daemon.port)
|
||||
|
||||
def is_connected(self, remote_node):
|
||||
return remote_node.info['id'] in [p['id'] for p in self.rpc.listpeers()['peers']]
|
||||
|
|
Loading…
Add table
Reference in a new issue