Skip to content

Commit de37d29

Browse files
committed
unskipped dual-funding blackbox tests
1 parent 1a56fa7 commit de37d29

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

tests/test_connection.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,6 @@ def test_disconnect_fundee(node_factory):
394394
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
395395
@pytest.mark.developer
396396
@pytest.mark.openchannel('v2')
397-
@unittest.skipIf(os.getenv('SUBDAEMON', 'xxx') == 'hsmd:remote_hsmd', "remote_hsmd doesn't support dual-funding yet")
398-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
399397
def test_disconnect_fundee_v2(node_factory):
400398
# Now error on fundee side during channel open, with them funding
401399
disconnects = ['-WIRE_ACCEPT_CHANNEL2',
@@ -1047,7 +1045,6 @@ def test_funding_toolarge(node_factory, bitcoind):
10471045

10481046
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
10491047
@pytest.mark.openchannel('v2')
1050-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
10511048
def test_v2_open(node_factory, bitcoind, chainparams):
10521049
l1, l2 = node_factory.get_nodes(2)
10531050

@@ -1647,7 +1644,6 @@ def test_funding_external_wallet(node_factory, bitcoind):
16471644

16481645
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
16491646
@pytest.mark.openchannel('v1') # We manually turn on dual-funding for select nodes
1650-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
16511647
def test_multifunding_v1_v2_mixed(node_factory, bitcoind):
16521648
'''
16531649
Simple test for multifundchannel, using v1 + v2
@@ -1689,7 +1685,6 @@ def test_multifunding_v1_v2_mixed(node_factory, bitcoind):
16891685

16901686
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
16911687
@pytest.mark.openchannel('v2')
1692-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
16931688
def test_multifunding_v2_exclusive(node_factory, bitcoind):
16941689
'''
16951690
Simple test for multifundchannel, using v2
@@ -3096,7 +3091,6 @@ def test_fail_unconfirmed(node_factory, bitcoind, executor):
30963091
@pytest.mark.developer("need dev-disconnect")
30973092
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
30983093
@pytest.mark.openchannel('v2')
3099-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
31003094
def test_fail_unconfirmed_openchannel2(node_factory, bitcoind, executor):
31013095
"""Test that if we crash with an unconfirmed connection to a known
31023096
peer, we don't have a dangling peer in db"""

tests/test_opening.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def test_queryrates(node_factory, bitcoind):
5555
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
5656
@pytest.mark.developer("uses dev-disconnect")
5757
@pytest.mark.openchannel('v1') # Mixed v1 + v2, v2 manually turned on
58-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
5958
def test_multifunding_v2_best_effort(node_factory, bitcoind):
6059
'''
6160
Check that best_effort flag works.
@@ -141,7 +140,6 @@ def get_funded_channel_scid(n1, n2):
141140
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
142141
@pytest.mark.developer("uses dev-disconnect")
143142
@pytest.mark.openchannel('v2')
144-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
145143
def test_v2_open_sigs_restart(node_factory, bitcoind):
146144
disconnects_1 = ['-WIRE_TX_SIGNATURES']
147145
disconnects_2 = ['+WIRE_TX_SIGNATURES']
@@ -187,7 +185,6 @@ def test_v2_open_sigs_restart(node_factory, bitcoind):
187185
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
188186
@pytest.mark.developer("uses dev-disconnect")
189187
@pytest.mark.openchannel('v2')
190-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
191188
def test_v2_open_sigs_restart_while_dead(node_factory, bitcoind):
192189
# Same thing as above, except the transaction mines
193190
# while we're asleep
@@ -419,7 +416,6 @@ def test_v2_rbf_liquidity_ad(node_factory, bitcoind, chainparams):
419416

420417
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
421418
@pytest.mark.openchannel('v2')
422-
@unittest.skipIf(os.getenv('SUBDAEMON', 'xxx') == 'hsmd:remote_hsmd', "remote_hsmd doesn't support dual-funding yet")
423419
def test_v2_rbf_multi(node_factory, bitcoind, chainparams):
424420
l1, l2 = node_factory.get_nodes(2,
425421
opts={'may_reconnect': True,
@@ -511,7 +507,6 @@ def test_v2_rbf_multi(node_factory, bitcoind, chainparams):
511507
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
512508
@pytest.mark.developer("uses dev-disconnect")
513509
@pytest.mark.openchannel('v2')
514-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
515510
def test_rbf_reconnect_init(node_factory, bitcoind, chainparams):
516511
disconnects = ['-WIRE_INIT_RBF',
517512
'@WIRE_INIT_RBF',
@@ -563,7 +558,6 @@ def test_rbf_reconnect_init(node_factory, bitcoind, chainparams):
563558
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
564559
@pytest.mark.developer("uses dev-disconnect")
565560
@pytest.mark.openchannel('v2')
566-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
567561
def test_rbf_reconnect_ack(node_factory, bitcoind, chainparams):
568562
disconnects = ['-WIRE_ACK_RBF',
569563
'@WIRE_ACK_RBF',
@@ -615,7 +609,6 @@ def test_rbf_reconnect_ack(node_factory, bitcoind, chainparams):
615609
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
616610
@pytest.mark.developer("uses dev-disconnect")
617611
@pytest.mark.openchannel('v2')
618-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
619612
def test_rbf_reconnect_tx_construct(node_factory, bitcoind, chainparams):
620613
disconnects = ['=WIRE_TX_ADD_INPUT', # Initial funding succeeds
621614
'-WIRE_TX_ADD_INPUT',
@@ -683,7 +676,6 @@ def test_rbf_reconnect_tx_construct(node_factory, bitcoind, chainparams):
683676
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
684677
@pytest.mark.developer("uses dev-disconnect")
685678
@pytest.mark.openchannel('v2')
686-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
687679
def test_rbf_reconnect_tx_sigs(node_factory, bitcoind, chainparams):
688680
disconnects = ['=WIRE_TX_SIGNATURES', # Initial funding succeeds
689681
'-WIRE_TX_SIGNATURES', # When we send tx-sigs, RBF
@@ -825,7 +817,6 @@ def test_rbf_reconnect_tx_sigs(node_factory, bitcoind, chainparams):
825817

826818
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
827819
@pytest.mark.openchannel('v2')
828-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
829820
def test_rbf_no_overlap(node_factory, bitcoind, chainparams):
830821
l1, l2 = node_factory.get_nodes(2,
831822
opts={'allow_warning': True})
@@ -1181,7 +1172,6 @@ def test_funder_options(node_factory, bitcoind):
11811172

11821173

11831174
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
1184-
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dual-funding yet")
11851175
def test_funder_contribution_limits(node_factory, bitcoind):
11861176
opts = {'experimental-dual-fund': None,
11871177
'feerates': (5000, 5000, 5000, 5000)}

0 commit comments

Comments
 (0)