mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
pytest: add test for bogus deprecation BROKEN log.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
c8660c85ba
commit
7e2ea3ed04
@ -4415,3 +4415,11 @@ def test_sql_crash(node_factory, bitcoind):
|
||||
|
||||
assert 'updates' not in only_one(l1.rpc.listpeerchannels()['channels'])
|
||||
l1.rpc.sql(f"SELECT * FROM peerchannels;")
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
def test_listchannels_broken_message(node_factory):
|
||||
"""This gave a bogus BROKEN message with deprecated-apis enabled"""
|
||||
l1 = node_factory.get_node(options={'allow-deprecated-apis': True})
|
||||
|
||||
l1.rpc.listchannels()
|
||||
|
Loading…
Reference in New Issue
Block a user