diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2020-09-28 20:24:06 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2020-09-29 04:35:01 -0400 |
commit | ed3acda33b75d1b546ee696a63def239bcdd62de (patch) | |
tree | e5944e95fa4f26367dc0f6d2fb893c89fcf5563a /test/functional/feature_filelock.py | |
parent | ec9b4492eba5d32ab833d511984756601d3f39b0 (diff) |
test, refactor: add default_wallet_name and wallet_data_filename variables
No changes in behavior
Diffstat (limited to 'test/functional/feature_filelock.py')
-rwxr-xr-x | test/functional/feature_filelock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_filelock.py b/test/functional/feature_filelock.py index e4ceb62c94..6a8c97d001 100755 --- a/test/functional/feature_filelock.py +++ b/test/functional/feature_filelock.py @@ -30,7 +30,7 @@ class FilelockTest(BitcoinTestFramework): wallet_dir = os.path.join(datadir, 'wallets') self.log.info("Check that we can't start a second bitcoind instance using the same wallet") expected_msg = "Error: Error initializing wallet database environment" - self.nodes[1].assert_start_raises_init_error(extra_args=['-walletdir={}'.format(wallet_dir), '-wallet=', '-noserver'], expected_msg=expected_msg, match=ErrorMatch.PARTIAL_REGEX) + self.nodes[1].assert_start_raises_init_error(extra_args=['-walletdir={}'.format(wallet_dir), '-wallet=' + self.default_wallet_name, '-noserver'], expected_msg=expected_msg, match=ErrorMatch.PARTIAL_REGEX) if __name__ == '__main__': FilelockTest().main() |