mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
Merge bitcoin/bitcoin#30308: QA: Expect PACKAGE_NAME rather than constant "Bitcoin Core"
197b5404b0
QA: Expect PACKAGE_NAME rather than constant "Bitcoin Core" (Luke Dashjr) Pull request description: Followup to #29144 ACKs for top commit: kevkevinpal: ACK [197b540
](197b5404b0
) tdb3: ACK197b5404b0
Tree-SHA512: 6a2c7f7da56effa7e3eba1d103b1b4442d74a21f2ba588564cddd6d61a46c3721bf0942d4ac947ecbbbfe476501ab7b03a8414d7d0840ce9106b056811583010
This commit is contained in:
commit
a57da5e014
@ -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