QA: Expect PACKAGE_NAME rather than constant "Bitcoin Core"

This commit is contained in:
Luke Dashjr committed 2024-06-19 14:59:31 +00:00
1 parent e9014042a6
commit 197b5404b0
1 file changed
+1 -1
+1 -1
View File
@@ -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)