diff --git a/test/functional/wallet_multiwallet.py b/test/functional/wallet_multiwallet.py --- a/test/functional/wallet_multiwallet.py +++ b/test/functional/wallet_multiwallet.py @@ -75,7 +75,7 @@ extra_args = ['-wallet={}'.format(n) for n in wallet_names] self.start_node(0, extra_args) assert_equal(set(map(lambda w: w['name'], self.nodes[0].listwalletdir()[ - 'wallets'])), set(['', 'w3', 'w2', 'sub/w5', 'w7', 'w7', 'w1', 'w8', 'w'])) + 'wallets'])), set(['', 'w3', 'w2', os.path.join('sub', 'w5'), 'w7', 'w7', 'w1', 'w8', 'w'])) assert_equal(set(node.listwallets()), set(wallet_names)) @@ -197,7 +197,7 @@ self.restart_node(0, extra_args) assert_equal(set(map(lambda w: w['name'], self.nodes[0].listwalletdir()['wallets'])), set( - ['', 'w3', 'w2', 'sub/w5', 'w7', 'w7', 'w8_copy', 'w1', 'w8', 'w'])) + ['', 'w3', 'w2', os.path.join('sub', 'w5'), 'w7', 'w7', 'w8_copy', 'w1', 'w8', 'w'])) wallets = [wallet(w) for w in wallet_names] wallet_bad = wallet("bad") @@ -365,7 +365,7 @@ assert_equal(w1.getwalletinfo()['walletname'], 'w1') assert_equal(set(map(lambda w: w['name'], self.nodes[0].listwalletdir()['wallets'])), set( - ['', 'w3', 'w2', 'sub/w5', 'w7', 'w9', 'w7', 'w8_copy', 'w1', 'w8', 'w'])) + ['', 'w3', 'w2', os.path.join('sub', 'w5'), 'w7', 'w9', 'w7', 'w8_copy', 'w1', 'w8', 'w'])) # Test backing up and restoring wallets self.log.info("Test wallet backup")