mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
QA: Expect PACKAGE_NAME rather than constant "Bitcoin Core"
This commit is contained in:
parent
e9014042a6
commit
197b5404b0
@ -25,7 +25,7 @@ class SettingsTest(BitcoinTestFramework):
|
||||
|
||||
# Assert default settings file was created
|
||||
self.stop_node(0)
|
||||
default_settings = {"_warning_": "This file is automatically generated and updated by Bitcoin Core. Please do not edit this file while the node is running, as any changes might be ignored or overwritten."}
|
||||
default_settings = {"_warning_": f"This file is automatically generated and updated by {self.config['environment']['PACKAGE_NAME']}. Please do not edit this file while the node is running, as any changes might be ignored or overwritten."}
|
||||
with settings.open() as fp:
|
||||
assert_equal(json.load(fp), default_settings)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user