mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02: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
|
# Assert default settings file was created
|
||||||
self.stop_node(0)
|
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:
|
with settings.open() as fp:
|
||||||
assert_equal(json.load(fp), default_settings)
|
assert_equal(json.load(fp), default_settings)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user