mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
pytest: detect warnings, too.
Since we turned many errors into warnings, we want our tests to fail when they happen unexpectedly. We make WARNING clear in the strings we print, too, to help out. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1956,8 +1956,10 @@ def test_update_fee(node_factory, bitcoind):
|
||||
|
||||
@unittest.skipIf(not DEVELOPER, "needs DEVELOPER=1")
|
||||
def test_fee_limits(node_factory, bitcoind):
|
||||
l1, l2, l3, l4 = node_factory.get_nodes(4, opts=[{'dev-max-fee-multiplier': 5, 'may_reconnect': True},
|
||||
{'dev-max-fee-multiplier': 5, 'may_reconnect': True},
|
||||
l1, l2, l3, l4 = node_factory.get_nodes(4, opts=[{'dev-max-fee-multiplier': 5, 'may_reconnect': True,
|
||||
'allow_warning': True},
|
||||
{'dev-max-fee-multiplier': 5, 'may_reconnect': True,
|
||||
'allow_warning': True},
|
||||
{'ignore-fee-limits': True, 'may_reconnect': True},
|
||||
{}])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user