From 301b6346992ba56ddda9602d69e9e90da770e097 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Sun, 1 Dec 2019 16:21:31 +0100 Subject: [PATCH] pytest: Skip some tests in elements if paratrization is convoluted These mainly use hard-coded addresses --- tests/test_pay.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_pay.py b/tests/test_pay.py index eafa6102e..72332cdd8 100644 --- a/tests/test_pay.py +++ b/tests/test_pay.py @@ -2403,6 +2403,7 @@ def test_tlv_or_legacy(node_factory, bitcoind): @unittest.skipIf(not EXPERIMENTAL_FEATURES, 'Needs invoice secret support') @unittest.skipIf(not DEVELOPER, 'Needs dev-routes') +@unittest.skipIf(TEST_NETWORK != 'regtest', "Invoice is network specific") def test_pay_no_secret(node_factory, bitcoind): l1, l2 = node_factory.line_graph(2, wait_for_announce=False)