Changeset View
Changeset View
Standalone View
Standalone View
test/functional/feature_settings.py
Show All 10 Lines | |||||
from test_framework.test_node import ErrorMatch | from test_framework.test_node import ErrorMatch | ||||
from test_framework.util import assert_equal | from test_framework.util import assert_equal | ||||
class SettingsTest(BitcoinTestFramework): | class SettingsTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.wallet_names = [] | |||||
def run_test(self): | def run_test(self): | ||||
node, = self.nodes | node, = self.nodes | ||||
settings = Path(node.datadir, self.chain, "settings.json") | settings = Path(node.datadir, self.chain, "settings.json") | ||||
conf = Path(node.datadir, "bitcoin.conf") | conf = Path(node.datadir, "bitcoin.conf") | ||||
# Assert empty settings file was created | # Assert empty settings file was created | ||||
self.stop_node(0) | self.stop_node(0) | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |