Skip to content

Commit c281d28

Browse files
committed
skip bolt12 tests because remote_hsmd does not yet support
1 parent 63c6674 commit c281d28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_pay.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4234,6 +4234,7 @@ def test_offer(node_factory, bitcoind):
42344234
assert 'recurrence: every 600 seconds paywindow -10 to +600 (pay proportional)\n' in output
42354235

42364236

4237+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support bolt12 yet")
42374238
@pytest.mark.developer("dev-no-modern-onion is DEVELOPER-only")
42384239
def test_fetchinvoice_3hop(node_factory, bitcoind):
42394240
l1, l2, l3, l4 = node_factory.line_graph(4, wait_for_announce=True,
@@ -4481,6 +4482,7 @@ def test_fetchinvoice(node_factory, bitcoind):
44814482

44824483

44834484
@pytest.mark.developer("Needs dev-allow-localhost for autoconnect, dev-force-features to avoid routing onionmsgs")
4485+
@unittest.skipIf(os.getenv('SUBDAEMON') == 'hsmd:remote_hsmd', "remote_hsmd doesn't support bolt12 yet")
44844486
def test_fetchinvoice_autoconnect(node_factory, bitcoind):
44854487
"""We should autoconnect if we need to, to route."""
44864488

@@ -4547,6 +4549,7 @@ def test_pay_waitblockheight_timeout(node_factory, bitcoind):
45474549

45484550

45494551
@pytest.mark.developer("dev-rawrequest is DEVELOPER-only")
4552+
@unittest.skipIf(os.getenv('SUBDAEMON') == 'hsmd:remote_hsmd', "remote_hsmd doesn't support bolt12 yet")
45504553
def test_dev_rawrequest(node_factory):
45514554
l1, l2 = node_factory.line_graph(2, fundchannel=False,
45524555
opts={'experimental-offers': None})

0 commit comments

Comments
 (0)