74 wallet_names.remove('w7_symlink')
75+ wallet_exclude = {'w7'}
76 extra_args = ['-wallet={}'.format(n) for n in wallet_names]
77 self.start_node(0, extra_args)
78- assert_equal(set(map(lambda w: w['name'], self.nodes[0].listwalletdir()['wallets'])), set(['', 'w3', 'w2', 'sub/w5', 'w7', 'w7', 'w1', 'w8', 'w']))
79+ assert_equal(set(map(lambda w: w['name'], self.nodes[0].listwalletdir()['wallets'])), set(['', 'w3', 'w2', os.path.join('sub', 'w5'), 'w7', 'w7', 'w1', 'w8', 'w']) - wallet_exclude)
Note: It looks os.path.join change is not directly related to this PR, but is just a fix for listwalletdir (added in
#14291) on windows.
‘w7’, ‘w7’
Code precedes this PR, but I think listing w7 twice has no effect.