Skip to content

Commit a1ecf5d

Browse files
tests: p2p_blockfilters: skip when wallet module is not available
Add skip_test_if_missing_module to call skip_if_no_wallet() to avoid failures when built without wallet.
1 parent 9266b9a commit a1ecf5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/functional/p2p_blockfilters.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ def set_test_params(self):
6666
["-blockfilterindex"],
6767
]
6868

69+
def skip_test_if_missing_module(self):
70+
self.skip_if_no_wallet()
71+
6972
def run_test(self):
7073
# Node 0 supports COMPACT_FILTERS, node 1 does not.
7174
peer_0 = self.nodes[0].add_p2p_connection(FiltersClient())

0 commit comments

Comments
 (0)