aboutsummaryrefslogtreecommitdiff
path: root/test/functional/interface_rest.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-09-09 13:32:37 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-10-24 22:02:36 -0400
commitf7adb32e383bbbdb473eb470e4a6872b582cac80 (patch)
tree4d59469a75a5e7b2fd91412c356a7c1501222a77 /test/functional/interface_rest.py
parent86fadee9904198ca706d706a8545ee908e830dfa (diff)
downloadbitcoin-f7adb32e383bbbdb473eb470e4a6872b582cac80.tar.xz
qa: Run all tests even if wallet is not compiled
Github-Pull: #14180 Rebased-From: fac95398366f644911b58f1605e6bc37fb76782d
Diffstat (limited to 'test/functional/interface_rest.py')
-rwxr-xr-xtest/functional/interface_rest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/interface_rest.py b/test/functional/interface_rest.py
index 41a1b4a35d..afa9de580f 100755
--- a/test/functional/interface_rest.py
+++ b/test/functional/interface_rest.py
@@ -43,6 +43,9 @@ class RESTTest (BitcoinTestFramework):
self.num_nodes = 2
self.extra_args = [["-rest"], []]
+ def skip_test_if_missing_module(self):
+ self.skip_if_no_wallet()
+
def test_rest_request(self, uri, http_method='GET', req_type=ReqType.JSON, body='', status=200, ret_type=RetType.JSON):
rest_uri = '/rest' + uri
if req_type == ReqType.JSON: