Skip to content

Commit 987f1b6

Browse files
committed
tests: skip tests incompatible with VLS
1 parent 57fc896 commit 987f1b6

File tree

12 files changed

+87
-0
lines changed

12 files changed

+87
-0
lines changed

tests/test_bookkeeper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ def test_bookkeeping_rbf_withdraw(node_factory, bitcoind):
343343
assert len(fees) == 1
344344

345345

346+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "hsmd_sign_option_will_fund_offer not supported")
346347
@pytest.mark.openchannel('v2')
347348
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "turns off bookkeeper at start")
348349
@unittest.skipIf(TEST_NETWORK != 'regtest', "network fees hardcoded")
@@ -418,6 +419,7 @@ def _check_events(node, channel_id, exp_events):
418419

419420
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "turns off bookkeeper at start")
420421
@unittest.skipIf(TEST_NETWORK != 'regtest', "network fees hardcoded")
422+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "remote_hsmd doesn't allow push of non-trivial amount")
421423
@pytest.mark.openchannel('v1', 'Uses push-msat')
422424
def test_bookkeeping_missed_chans_pushed(node_factory, bitcoind):
423425
"""
@@ -738,6 +740,7 @@ def test_bookkeeping_onchaind_txs(node_factory, bitcoind):
738740
assert outs == only_one(wallet_bal['balances'])['balance_msat']
739741

740742

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

tests/test_closing.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ def test_closing_negotiation_step_700sat(node_factory, bitcoind, chainparams):
496496
closing_negotiation_step(node_factory, bitcoind, chainparams, opts)
497497

498498

499+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "dev_sign_last_tx causes subsequent validate_holder_commitment_tx failure")
499500
@pytest.mark.parametrize("anchors", [False, True])
500501
def test_penalty_inhtlc(node_factory, bitcoind, executor, chainparams, anchors):
501502
"""Test penalty transaction with an incoming HTLC"""
@@ -628,6 +629,7 @@ def test_penalty_inhtlc(node_factory, bitcoind, executor, chainparams, anchors):
628629
check_utxos_channel(l2, [channel_id], expected_2, tags)
629630

630631

632+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "dev_sign_last_tx causes subsequent validate_holder_commitment_tx failure")
631633
@pytest.mark.parametrize("anchors", [False, True])
632634
def test_penalty_outhtlc(node_factory, bitcoind, executor, chainparams, anchors):
633635
"""Test penalty transaction with an outgoing HTLC"""
@@ -764,6 +766,7 @@ def test_penalty_outhtlc(node_factory, bitcoind, executor, chainparams, anchors)
764766

765767

766768
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
769+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "handle_sign_option_will_fund_offer unimplemented")
767770
@pytest.mark.openchannel('v2')
768771
@pytest.mark.slow_test
769772
def test_channel_lease_falls_behind(node_factory, bitcoind):
@@ -803,6 +806,7 @@ def test_channel_lease_falls_behind(node_factory, bitcoind):
803806

804807

805808
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
809+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "handle_sign_option_will_fund_offer unimplemented")
806810
@pytest.mark.openchannel('v2')
807811
@pytest.mark.slow_test
808812
def test_channel_lease_post_expiry(node_factory, bitcoind, chainparams):
@@ -903,6 +907,7 @@ def test_channel_lease_post_expiry(node_factory, bitcoind, chainparams):
903907

904908

905909
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
910+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "handle_sign_option_will_fund_offer unimplemented")
906911
@pytest.mark.openchannel('v2')
907912
@pytest.mark.slow_test
908913
def test_channel_lease_unilat_closes(node_factory, bitcoind):
@@ -1014,6 +1019,7 @@ def test_channel_lease_unilat_closes(node_factory, bitcoind):
10141019

10151020

10161021
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
1022+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "handle_sign_option_will_fund_offer unimplemented")
10171023
@pytest.mark.openchannel('v2')
10181024
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db")
10191025
def test_channel_lease_lessor_cheat(node_factory, bitcoind, chainparams):
@@ -1088,6 +1094,7 @@ def test_channel_lease_lessor_cheat(node_factory, bitcoind, chainparams):
10881094

10891095

10901096
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
1097+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "handle_sign_option_will_fund_offer unimplemented")
10911098
@pytest.mark.openchannel('v2')
10921099
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db")
10931100
def test_channel_lease_lessee_cheat(node_factory, bitcoind, chainparams):
@@ -1163,6 +1170,8 @@ def test_channel_lease_lessee_cheat(node_factory, bitcoind, chainparams):
11631170
'Unknown spend of OUR_UNILATERAL/DELAYED_OUTPUT_TO_US by'])
11641171

11651172

1173+
# VLS_PERMISSIVE generates invalid signature bassed on bad commitnum
1174+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "invalid next holder commitment number: 4 != 6")
11661175
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db")
11671176
@pytest.mark.slow_test
11681177
@pytest.mark.parametrize("anchors", [False, True])
@@ -1351,6 +1360,8 @@ def test_penalty_htlc_tx_fulfill(node_factory, bitcoind, chainparams, anchors):
13511360
check_balance_snaps(l2, expected_bals_2)
13521361

13531362

1363+
# VLS_PERMISSIVE generates invalid signature bassed on bad commitnum
1364+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "invalid next holder commitment number: 4 != 6")
13541365
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db")
13551366
@pytest.mark.slow_test
13561367
@pytest.mark.parametrize("anchors", [False, True])
@@ -1580,6 +1591,7 @@ def test_penalty_htlc_tx_timeout(node_factory, bitcoind, chainparams, anchors):
15801591
assert acc['resolved_at_block'] > 0
15811592

15821593

1594+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "exceeds max fee policy")
15831595
@pytest.mark.parametrize("anchors", [False, True])
15841596
def test_penalty_rbf_normal(node_factory, bitcoind, executor, chainparams, anchors):
15851597
'''
@@ -2896,6 +2908,7 @@ def route_to_l1(src):
28962908

28972909

28982910
@pytest.mark.slow_test
2911+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "frequently flakes")
28992912
def test_onchain_multihtlc_our_unilateral(node_factory, bitcoind):
29002913
"""Node pushes a channel onchain with multiple HTLCs with same payment_hash """
29012914
h, l1, l2, l3, l4, l5, l6, l7 = setup_multihtlc_test(node_factory, bitcoind)
@@ -2951,6 +2964,7 @@ def test_onchain_multihtlc_our_unilateral(node_factory, bitcoind):
29512964

29522965

29532966
@pytest.mark.slow_test
2967+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "frequently flakes")
29542968
def test_onchain_multihtlc_their_unilateral(node_factory, bitcoind):
29552969
"""Node pushes a channel onchain with multiple HTLCs with same payment_hash """
29562970
h, l1, l2, l3, l4, l5, l6, l7 = setup_multihtlc_test(node_factory, bitcoind)
@@ -3116,6 +3130,7 @@ def test_permfail_htlc_out(node_factory, bitcoind, executor):
31163130
wait_for(lambda: l2.rpc.listpeers()['peers'] == [])
31173131

31183132

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

@@ -3215,6 +3230,7 @@ def test_shutdown(node_factory):
32153230
l1.rpc.stop()
32163231

32173232

3233+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "validate_setup_channel: holder_shutdown_script is not in wallet or allowlist")
32183234
def test_option_upfront_shutdown_script(node_factory, bitcoind, executor, chainparams):
32193235
l1 = node_factory.get_node(start=False, allow_warning=True)
32203236
# Insist on upfront script we're not going to match.

tests/test_connection.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,6 +1212,7 @@ def test_v2_open(node_factory, bitcoind, chainparams):
12121212
result = l1.rpc.waitsendpay(p['payment_hash'])
12131213
assert(result['status'] == 'complete')
12141214

1215+
12151216
# policy failed: policy-onchain-no-channel-push validate_onchain_tx: channel push not allowed: dual-funding not supported yet
12161217
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_SKIP_SPLICE_TESTS') == '1', "test expected to fail before VLS dual-funding / splicing support")
12171218
@pytest.mark.openchannel('v1')
@@ -1641,6 +1642,7 @@ def test_funding_v2_cancel_race(node_factory, bitcoind, executor):
16411642
executor.map(lambda n: n.stop(), node_factory.nodes)
16421643

16431644

1645+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "validate_setup_channel: holder_shutdown_script is not in wallet or allowlist")
16441646
@pytest.mark.openchannel('v1')
16451647
@pytest.mark.openchannel('v2')
16461648
@unittest.skipIf(TEST_NETWORK != 'regtest', "External wallet support doesn't work with elements yet.")
@@ -1791,6 +1793,7 @@ def test_funding_external_wallet(node_factory, bitcoind):
17911793

17921794
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
17931795
@pytest.mark.openchannel('v1') # We manually turn on dual-funding for select nodes
1796+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "commit c0cc285a causes: channel stub can only return point for commitment number zero")
17941797
def test_multifunding_v1_v2_mixed(node_factory, bitcoind):
17951798
'''
17961799
Simple test for multifundchannel, using v1 + v2
@@ -2057,6 +2060,7 @@ def test_multifunding_wumbo(node_factory):
20572060
l1.rpc.multifundchannel(destinations)
20582061

20592062

2063+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "flakes too frequently w/ VLS")
20602064
@unittest.skipIf(TEST_NETWORK == 'liquid-regtest', "Fees on elements are different")
20612065
@pytest.mark.openchannel('v1') # v2 the weight calculation is off by 3
20622066
@pytest.mark.parametrize("anchors", [False, True])
@@ -2456,6 +2460,7 @@ def test_update_fee(node_factory, bitcoind):
24562460
l2.daemon.wait_for_log('onchaind complete, forgetting peer')
24572461

24582462

2463+
@pytest.mark.developer
24592464
def test_fee_limits(node_factory, bitcoind):
24602465
l1, l2, l3, l4 = node_factory.get_nodes(4, opts=[{'dev-max-fee-multiplier': 5, 'may_reconnect': True,
24612466
'allow_warning': True},
@@ -3607,6 +3612,9 @@ def test_channel_features(node_factory, bitcoind, anchors):
36073612
assert only_one(l2.rpc.listpeerchannels()['channels'])['features'] == chan['features']
36083613

36093614

3615+
# Still fails w/ VLS_PERMISSIVE with "recomposed tx mismatch"
3616+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "Legacy channel type not supported")
3617+
@pytest.mark.developer("need dev-force-features")
36103618
def test_nonstatic_channel(node_factory, bitcoind):
36113619
"""Smoke test for a channel without option_static_remotekey"""
36123620
l1, l2 = node_factory.get_nodes(2,
@@ -3726,6 +3734,8 @@ def test_openchannel_init_alternate(node_factory, executor):
37263734
print("nothing to do")
37273735

37283736

3737+
# Still fails w/ VLS_PERMISSIVE with "recomposed tx mismatch"
3738+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "Legacy channel type not supported")
37293739
def test_upgrade_statickey(node_factory, executor):
37303740
"""l1 doesn't have option_static_remotekey, l2 offers it."""
37313741
l1, l2 = node_factory.get_nodes(2, opts=[{'may_reconnect': True,
@@ -3764,6 +3774,8 @@ def test_upgrade_statickey(node_factory, executor):
37643774
l2.daemon.wait_for_log(r"They sent desired_channel_type \[12\]")
37653775

37663776

3777+
# Still fails w/ VLS_PERMISSIVE with "recomposed tx mismatch"
3778+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "Legacy channel type not supported")
37673779
def test_upgrade_statickey_onchaind(node_factory, executor, bitcoind):
37683780
"""We test penalty before/after, and unilateral before/after"""
37693781
l1, l2 = node_factory.get_nodes(2, opts=[{'may_reconnect': True,
@@ -3921,6 +3933,8 @@ def test_upgrade_statickey_onchaind(node_factory, executor, bitcoind):
39213933
wait_for(lambda: len(l2.rpc.listpeerchannels()['channels']) == 0)
39223934

39233935

3936+
# Still fails w/ VLS_PERMISSIVE with "recomposed tx mismatch"
3937+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "Legacy channel type not supported")
39243938
def test_upgrade_statickey_fail(node_factory, executor, bitcoind):
39253939
"""We reconnect at all points during retransmit, and we won't upgrade."""
39263940
l1_disconnects = ['-WIRE_COMMITMENT_SIGNED',

tests/test_db.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def test_max_channel_id(node_factory, bitcoind):
136136
@unittest.skipIf(not COMPAT, "needs COMPAT to convert obsolete db")
137137
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "This test is based on a sqlite3 snapshot")
138138
@unittest.skipIf(TEST_NETWORK != 'regtest', "The network must match the DB snapshot")
139+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't like channel_nonce changing")
139140
def test_scid_upgrade(node_factory, bitcoind):
140141
bitcoind.generate_block(1)
141142

@@ -167,6 +168,7 @@ def test_scid_upgrade(node_factory, bitcoind):
167168
@unittest.skipIf(not COMPAT, "needs COMPAT to convert obsolete db")
168169
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "This test is based on a sqlite3 snapshot")
169170
@unittest.skipIf(TEST_NETWORK != 'regtest', "The network must match the DB snapshot")
171+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't like channel_nonce changing")
170172
def test_last_tx_inflight_psbt_upgrade(node_factory, bitcoind):
171173
bitcoind.generate_block(12)
172174

@@ -185,6 +187,7 @@ def test_last_tx_inflight_psbt_upgrade(node_factory, bitcoind):
185187
@unittest.skipIf(not COMPAT, "needs COMPAT to convert obsolete db")
186188
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "This test is based on a sqlite3 snapshot")
187189
@unittest.skipIf(TEST_NETWORK != 'regtest', "The network must match the DB snapshot")
190+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't like channel_nonce changing")
188191
def test_last_tx_psbt_upgrade(node_factory, bitcoind):
189192
bitcoind.generate_block(12)
190193

@@ -225,6 +228,7 @@ def test_last_tx_psbt_upgrade(node_factory, bitcoind):
225228
@pytest.mark.slow_test
226229
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "This test is based on a sqlite3 snapshot")
227230
@unittest.skipIf(TEST_NETWORK != 'regtest', "The network must match the DB snapshot")
231+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support backfill yet")
228232
def test_backfill_scriptpubkeys(node_factory, bitcoind):
229233
bitcoind.generate_block(214)
230234

@@ -358,6 +362,7 @@ def get_dsn(self):
358362
os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3',
359363
"This test is based on a sqlite3 snapshot"
360364
)
365+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support DB migration")
361366
def test_local_basepoints_cache(bitcoind, node_factory):
362367
"""XXX started caching the local basepoints as well as the remote ones.
363368
@@ -446,6 +451,7 @@ def test_sqlite3_builtin_backup(bitcoind, node_factory):
446451

447452

448453
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Don't know how to swap dbs in Postgres")
454+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "vlsd chokes on allowlist when started on wrong network")
449455
def test_db_sanity_checks(bitcoind, node_factory):
450456
l1, l2 = node_factory.get_nodes(2, opts=[{'allow_broken_log': True,
451457
'may_fail': True}, {}])

tests/test_gossip.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ def test_announce_dns_suppressed(node_factory, bitcoind):
177177
assert addresses[0]['port'] == 1236
178178

179179

180+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "trouble with IPv6 in VLS CI runner")
180181
def test_announce_and_connect_via_dns(node_factory, bitcoind):
181182
""" Test that DNS announcements propagate and can be used when connecting.
182183

tests/test_invoices.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ def test_invoice_weirdstring(node_factory):
130130
l1.rpc.delinvoice(weird_label, "unpaid")
131131

132132

133+
# Can't be filtered with VLS_PERMISSIVE, re-using preimage corrupts internal data ...
134+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "already have a different invoice for same secret")
133135
def test_invoice_preimage(node_factory):
134136
"""Test explicit invoice 'preimage'.
135137
"""

tests/test_misc.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,7 @@ def test_cli_commando(node_factory):
11641164
assert only_one(j['invoices'])['label'] == 'l"[]{}'
11651165

11661166

1167+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd integration test job control fails here")
11671168
def test_daemon_option(node_factory):
11681169
"""
11691170
Make sure --daemon at least vaguely works!
@@ -2191,6 +2192,7 @@ def test_bitcoind_feerate_floor(node_factory, bitcoind, anchors):
21912192

21922193

21932194
@unittest.skipIf(TEST_NETWORK != 'regtest', "Addresses are network specific")
2195+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support forced secrets")
21942196
def test_dev_force_bip32_seed(node_factory):
21952197
l1 = node_factory.get_node(options={'dev-force-bip32-seed': '0000000000000000000000000000000000000000000000000000000000000001'})
21962198
# First is m/0/0/1 ..
@@ -2530,6 +2532,7 @@ def test_regtest_upgrade(node_factory):
25302532

25312533
@unittest.skipIf(VALGRIND, "valgrind files can't be written since we rmdir")
25322534
@unittest.skipIf(TEST_NETWORK != "regtest", "needs bitcoin mainnet")
2535+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't create hsm_secret file")
25332536
def test_new_node_is_mainnet(node_factory):
25342537
"""Test that an empty directory causes us to be on mainnet"""
25352538
l1 = node_factory.get_node(start=False, may_fail=True)
@@ -2720,6 +2723,7 @@ def test_custommsg_triggers_notification(node_factory):
27202723
l1.daemon.wait_for_log(f"payload=77770012")
27212724

27222725

2726+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dev-force-privkey")
27232727
def test_makesecret(node_factory):
27242728
"""
27252729
Test makesecret command.
@@ -2757,6 +2761,7 @@ def test_staticbackup(node_factory):
27572761
and l1.rpc.staticbackup()["scb"][0][16: 16 + 64] == _["channel_id"])
27582762

27592763

2764+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd says no such channel")
27602765
def test_recoverchannel(node_factory):
27612766
"""
27622767
Test recoverchannel
@@ -3858,6 +3863,7 @@ def test_setconfig(node_factory, bitcoind):
38583863
assert len(lines) == 3
38593864

38603865

3866+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support this command")
38613867
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "deletes database, which is assumed sqlite3")
38623868
def test_recover_command(node_factory, bitcoind):
38633869
l1, l2 = node_factory.get_nodes(2)

0 commit comments

Comments
 (0)