Skip to content

Commit

Permalink
df: dont look for specific error message
Browse files Browse the repository at this point in the history
Sometimes it's "not connected", sometimes it's "Owning subdaemon
dualopend died"
  • Loading branch information
niftynei committed Mar 18, 2021
1 parent ab211f1 commit ac25f23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_opening.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_v2_open_sigs_restart(node_factory, bitcoind):

# Fund the channel, should appear to finish ok even though the
# peer fails
with pytest.raises(RpcError, match=r'Peer not connected'):
with pytest.raises(RpcError):
l1.rpc.fundchannel(l2.info['id'], chan_amount)

chan_id = first_channel_id(l1, l2)
Expand Down Expand Up @@ -173,7 +173,7 @@ def test_v2_open_sigs_restart_while_dead(node_factory, bitcoind):

# Fund the channel, should appear to finish ok even though the
# peer fails
with pytest.raises(RpcError, match=r'Peer not connected'):
with pytest.raises(RpcError):
l1.rpc.fundchannel(l2.info['id'], chan_amount)

chan_id = first_channel_id(l1, l2)
Expand Down

0 comments on commit ac25f23

Please sign in to comment.