diff options
| author | MarcoFalke <[email protected]> | 2018-09-23 11:34:51 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-09-25 18:08:08 -0400 |
| commit | faa4043c660c9a61d304ba1375ce7a32e576ae79 (patch) | |
| tree | afbf08cedc6ac0e2f9388ad7641c8f263309ac3f /test/functional/feature_config_args.py | |
| parent | Merge #14306: AppVeyor: Move AppVeyor YAML to dot-file-style YAML (diff) | |
| download | discoin-faa4043c660c9a61d304ba1375ce7a32e576ae79.tar.xz discoin-faa4043c660c9a61d304ba1375ce7a32e576ae79.zip | |
qa: Run more tests with wallet disabled
Diffstat (limited to 'test/functional/feature_config_args.py')
| -rwxr-xr-x | test/functional/feature_config_args.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/functional/feature_config_args.py b/test/functional/feature_config_args.py index 1124119e2..492772d5e 100755 --- a/test/functional/feature_config_args.py +++ b/test/functional/feature_config_args.py @@ -14,9 +14,6 @@ class ConfArgsTest(BitcoinTestFramework): self.setup_clean_chain = True self.num_nodes = 1 - def skip_test_if_missing_module(self): - self.skip_if_no_wallet() - def test_config_file_parser(self): # Assume node is stopped @@ -68,13 +65,18 @@ class ConfArgsTest(BitcoinTestFramework): # Temporarily disabled, because this test would access the user's home dir (~/.bitcoin) #self.start_node(0, ['-conf='+conf_file, '-wallet=w1']) #self.stop_node(0) + #assert os.path.exists(os.path.join(new_data_dir, 'regtest', 'blocks')) + #if self.is_wallet_compiled(): #assert os.path.exists(os.path.join(new_data_dir, 'regtest', 'wallets', 'w1')) # Ensure command line argument overrides datadir in conf os.mkdir(new_data_dir_2) self.nodes[0].datadir = new_data_dir_2 self.start_node(0, ['-datadir='+new_data_dir_2, '-conf='+conf_file, '-wallet=w2']) - assert os.path.exists(os.path.join(new_data_dir_2, 'regtest', 'wallets', 'w2')) + assert os.path.exists(os.path.join(new_data_dir_2, 'regtest', 'blocks')) + if self.is_wallet_compiled(): + assert os.path.exists(os.path.join(new_data_dir_2, 'regtest', 'wallets', 'w2')) + if __name__ == '__main__': ConfArgsTest().main() |