@ -108,17 +108,15 @@ class ConfArgsTest(BitcoinTestFramework):
f.write("datadir="+new_data_dir+"\n")
f.write(conf_file_contents)
# Temporarily disabled, because this test would access the user's home dir (~/.bitcoin)
#self.nodes[0].assert_start_raises_init_error(['-conf=' + conf_file], 'Error reading configuration file: specified data directory "' + new_data_dir + '" does not exist.')
self.nodes[0].assert_start_raises_init_error(['-conf='+conf_file],'Error: Error reading configuration file: specified data directory "'+new_data_dir+'" does not exist.')
# Create the directory and ensure the config file now works
os.mkdir(new_data_dir)
# Temporarily disabled, because this test would access the user's home dir (~/.bitcoin)