Skip to content

Commit d666b09

Browse files
committed
tests: re-disable re-test candidates
1 parent 8f76722 commit d666b09

8 files changed

+24
-24
lines changed

tests/test_bookkeeper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ def test_bookkeeping_onchaind_txs(node_factory, bitcoind):
601601
assert outs == only_one(wallet_bal['balances'])['balance_msat']
602602

603603

604-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "invoice from offer: Invalid bech32: invalid checksum")
604+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "invoice from offer: Invalid bech32: invalid checksum")
605605
def test_bookkeeping_descriptions(node_factory, bitcoind, chainparams):
606606
"""
607607
When an 'invoice' type event comes through, we look up the description details

tests/test_closing.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ def test_channel_lease_lessee_cheat(node_factory, bitcoind, chainparams):
11631163

11641164

11651165
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db")
1166-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy: can't sign revoked commitment number") # FIXME - should work w/ VLS_PERMISSIVE
1166+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy: can't sign revoked commitment number") # FIXME - should work w/ VLS_PERMISSIVE
11671167
@pytest.mark.slow_test
11681168
@pytest.mark.parametrize("anchors", [False, True])
11691169
def test_penalty_htlc_tx_fulfill(node_factory, bitcoind, chainparams, anchors):
@@ -1348,7 +1348,7 @@ def test_penalty_htlc_tx_fulfill(node_factory, bitcoind, chainparams, anchors):
13481348

13491349

13501350
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db")
1351-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy: can't sign revoked commitment number") # FIXME - should work with VLS_PERMISSIVE
1351+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy: can't sign revoked commitment number") # FIXME - should work with VLS_PERMISSIVE
13521352
@pytest.mark.slow_test
13531353
@pytest.mark.parametrize("anchors", [False, True])
13541354
def test_penalty_htlc_tx_timeout(node_factory, bitcoind, chainparams, anchors):
@@ -3089,7 +3089,7 @@ def test_permfail_htlc_out(node_factory, bitcoind, executor):
30893089
wait_for(lambda: l2.rpc.listpeers()['peers'] == [])
30903090

30913091

3092-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy: can't withdraw to non-wallet address") # FIXME - should work with auto-approve
3092+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy: can't withdraw to non-wallet address") # FIXME - should work with auto-approve
30933093
def test_permfail(node_factory, bitcoind):
30943094
l1, l2 = node_factory.line_graph(2)
30953095

@@ -3189,7 +3189,7 @@ def test_shutdown(node_factory):
31893189
l1.rpc.stop()
31903190

31913191

3192-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy failure: validate_mutual_close_tx: holder_script doesn't match upfront holder_shutdown_script") # FIXME - should work with VLS_PERMISSIVE
3192+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy failure: validate_mutual_close_tx: holder_script doesn't match upfront holder_shutdown_script") # FIXME - should work with VLS_PERMISSIVE
31933193
def test_option_upfront_shutdown_script(node_factory, bitcoind, executor, chainparams):
31943194
l1 = node_factory.get_node(start=False, allow_warning=True)
31953195
# Insist on upfront script we're not going to match.

tests/test_connection.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ def test_v2_open(node_factory, bitcoind, chainparams):
12151215
assert(result['status'] == 'complete')
12161216

12171217

1218-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "channel push not allowed: dual-funding not supported yet")
1218+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "channel push not allowed: dual-funding not supported yet")
12191219
@pytest.mark.openchannel('v1')
12201220
def test_funding_push(node_factory, bitcoind, chainparams):
12211221
""" Try to push peer some sats """
@@ -1646,7 +1646,7 @@ def test_funding_v2_cancel_race(node_factory, bitcoind, executor):
16461646
@pytest.mark.openchannel('v1')
16471647
@pytest.mark.openchannel('v2')
16481648
@unittest.skipIf(TEST_NETWORK != 'regtest', "External wallet support doesn't work with elements yet.")
1649-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "remote_hsmd can't handle random external addresses (allowlist)") # FIXME - should work w/ auto-approve
1649+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "remote_hsmd can't handle random external addresses (allowlist)") # FIXME - should work w/ auto-approve
16501650
def test_funding_close_upfront(node_factory, bitcoind):
16511651
opts = {'plugin': os.path.join(os.getcwd(), 'tests/plugins/openchannel_hook_accepter.py')}
16521652

@@ -1794,7 +1794,7 @@ def test_funding_external_wallet(node_factory, bitcoind):
17941794

17951795
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
17961796
@pytest.mark.openchannel('v1') # We manually turn on dual-funding for select nodes
1797-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "commit c0cc285a causes: channel stub can only return point for commitment number zero")
1797+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "commit c0cc285a causes: channel stub can only return point for commitment number zero")
17981798
def test_multifunding_v1_v2_mixed(node_factory, bitcoind):
17991799
'''
18001800
Simple test for multifundchannel, using v1 + v2
@@ -3586,7 +3586,7 @@ def test_channel_features(node_factory, bitcoind, anchors):
35863586

35873587

35883588
@pytest.mark.developer("need dev-force-features")
3589-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support non-option_static_remotekey") # FIXME - should work with VLS_PERMISSIVE
3589+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support non-option_static_remotekey") # FIXME - should work with VLS_PERMISSIVE
35903590
def test_nonstatic_channel(node_factory, bitcoind):
35913591
"""Smoke test for a channel without option_static_remotekey"""
35923592
l1, l2 = node_factory.line_graph(2,
@@ -3702,7 +3702,7 @@ def test_openchannel_init_alternate(node_factory, executor):
37023702
print("nothing to do")
37033703

37043704

3705-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "upgrade not yet supported by VLS")
3705+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "upgrade not yet supported by VLS")
37063706
def test_upgrade_statickey(node_factory, executor):
37073707
"""l1 doesn't have option_static_remotekey, l2 offers it."""
37083708
l1, l2 = node_factory.line_graph(2, opts=[{'may_reconnect': True,
@@ -3733,7 +3733,7 @@ def test_upgrade_statickey(node_factory, executor):
37333733
l2.daemon.wait_for_log(r"They sent desired_channel_type \[12\]")
37343734

37353735

3736-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "upgrade not yet supported by VLS")
3736+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "upgrade not yet supported by VLS")
37373737
def test_upgrade_statickey_onchaind(node_factory, executor, bitcoind):
37383738
"""We test penalty before/after, and unilateral before/after"""
37393739
l1, l2 = node_factory.line_graph(2, opts=[{'may_reconnect': True,
@@ -3868,7 +3868,7 @@ def test_upgrade_statickey_onchaind(node_factory, executor, bitcoind):
38683868
wait_for(lambda: len(l2.rpc.listpeerchannels()['channels']) == 0)
38693869

38703870

3871-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "upgrade not yet supported by VLS")
3871+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "upgrade not yet supported by VLS")
38723872
def test_upgrade_statickey_fail(node_factory, executor, bitcoind):
38733873
"""We reconnect at all points during retransmit, and we won't upgrade."""
38743874
l1_disconnects = ['-WIRE_COMMITMENT_SIGNED',

tests/test_invoices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_invoice_weirdstring(node_factory):
130130
l1.rpc.delinvoice(weird_label, "unpaid")
131131

132132

133-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "VLS policies catch two-invoice-one-preimage ahead of the node") # FIXME - should work with VLS_PERMISSIVE
133+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "VLS policies catch two-invoice-one-preimage ahead of the node") # FIXME - should work with VLS_PERMISSIVE
134134
def test_invoice_preimage(node_factory):
135135
"""Test explicit invoice 'preimage'.
136136
"""

tests/test_opening.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_queryrates(node_factory, bitcoind):
5959

6060
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
6161
@pytest.mark.openchannel('v1') # Mixed v1 + v2, v2 manually turned on
62-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "commit c0cc285a causes: channel stub can only return point for commitment number zero")
62+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "commit c0cc285a causes: channel stub can only return point for commitment number zero")
6363
def test_multifunding_v2_best_effort(node_factory, bitcoind):
6464
'''
6565
Check that best_effort flag works.
@@ -1502,7 +1502,7 @@ def test_funder_options(node_factory, bitcoind):
15021502

15031503

15041504
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
1505-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "dual-funding not supported yet") # FIXME - should work with VLS_PERMISSIVE
1505+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "dual-funding not supported yet") # FIXME - should work with VLS_PERMISSIVE
15061506
def test_funder_contribution_limits(node_factory, bitcoind):
15071507
opts = {'experimental-dual-fund': None,
15081508
'feerates': (5000, 5000, 5000, 5000)}
@@ -1643,7 +1643,7 @@ def test_zeroconf_mindepth(bitcoind, node_factory):
16431643
wait_for(lambda: only_one(l2.rpc.listpeerchannels()['channels'])['state'] == "CHANNELD_NORMAL")
16441644

16451645

1646-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "tried commitment when funding is not buried ")
1646+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "tried commitment when funding is not buried ")
16471647
def test_zeroconf_open(bitcoind, node_factory):
16481648
"""Let's open a zeroconf channel
16491649
@@ -1708,7 +1708,7 @@ def test_zeroconf_open(bitcoind, node_factory):
17081708
l2.rpc.pay(inv)
17091709

17101710

1711-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd inplace and socket don't generate WIRE_HSMD_CUPDATE_SIG_REQ log messages")
1711+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd inplace and socket don't generate WIRE_HSMD_CUPDATE_SIG_REQ log messages")
17121712
def test_zeroconf_public(bitcoind, node_factory, chainparams):
17131713
"""Test that we transition correctly from zeroconf to public
17141714

tests/test_pay.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4446,7 +4446,7 @@ def test_offer(node_factory, bitcoind):
44464446
assert 'recurrence: every 600 seconds paywindow -10 to +600 (pay proportional)\n' in output
44474447

44484448

4449-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "Invalid bech32: invalid checksum")
4449+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "Invalid bech32: invalid checksum")
44504450
def test_offer_deprecated_api(node_factory, bitcoind):
44514451
l1, l2 = node_factory.line_graph(2, opts={'experimental-offers': None,
44524452
'allow-deprecated-apis': True})
@@ -4472,7 +4472,7 @@ def test_fetchinvoice_3hop(node_factory, bitcoind):
44724472
l1.rpc.call('fetchinvoice', {'offer': offer1['bolt12']})
44734473

44744474

4475-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "invoice from offer: Invalid bech32: invalid checksum")
4475+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "invoice from offer: Invalid bech32: invalid checksum")
44764476
def test_fetchinvoice(node_factory, bitcoind):
44774477
# We remove the conversion plugin on l3, causing it to get upset.
44784478
l1, l2, l3 = node_factory.line_graph(3, wait_for_announce=True,
@@ -4598,7 +4598,7 @@ def test_fetchinvoice(node_factory, bitcoind):
45984598
l1.rpc.call('fetchinvoice', {'offer': offer1['bolt12'], 'timeout': 10})
45994599

46004600

4601-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "Invalid bech32: invalid checksum")
4601+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "Invalid bech32: invalid checksum")
46024602
def test_fetchinvoice_recurrence(node_factory, bitcoind):
46034603
"""Test for our recurrence extension"""
46044604
l1, l2, l3 = node_factory.line_graph(3, wait_for_announce=True,
@@ -4693,7 +4693,7 @@ def test_fetchinvoice_recurrence(node_factory, bitcoind):
46934693
'recurrence_label': 'test paywindow'})
46944694

46954695

4696-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "invoice from offer: Invalid bech32: invalid checksum")
4696+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "invoice from offer: Invalid bech32: invalid checksum")
46974697
def test_fetchinvoice_autoconnect(node_factory, bitcoind):
46984698
"""We should autoconnect if we need to, to route."""
46994699

@@ -4770,7 +4770,7 @@ def test_dev_rawrequest(node_factory):
47704770
assert 'invoice' in ret
47714771

47724772

4773-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "sendinvoice: bolt12: Invalid bech32: invalid checksum")
4773+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "sendinvoice: bolt12: Invalid bech32: invalid checksum")
47744774
def test_sendinvoice(node_factory, bitcoind):
47754775
l2opts = {'experimental-offers': None}
47764776
l1, l2 = node_factory.line_graph(2, wait_for_announce=True,

tests/test_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3408,7 +3408,7 @@ def test_block_added_notifications(node_factory, bitcoind):
34083408

34093409

34103410
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
3411-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "commit c0cc285a causes: channel stub can only return point for commitment number zero")
3411+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "commit c0cc285a causes: channel stub can only return point for commitment number zero")
34123412
def test_sql(node_factory, bitcoind):
34133413
opts = {'experimental-offers': None,
34143414
'experimental-dual-fund': None,

tests/test_wallet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ def test_psbt_version(node_factory, bitcoind, chainparams):
860860

861861

862862
@unittest.skipIf(TEST_NETWORK == 'liquid-regtest', 'Core/Elements need joinpsbt support for v2')
863-
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy: can't withdraw to non-wallet address") # FIXME - should work with VLS_PERMISSIVE
863+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy: can't withdraw to non-wallet address") # FIXME - should work with VLS_PERMISSIVE
864864
def test_sign_and_send_psbt(node_factory, bitcoind, chainparams):
865865
"""
866866
Tests for the sign + send psbt RPCs

0 commit comments

Comments
 (0)