Skip to content

Commit

Permalink
Merge bitcoin#30308: QA: Expect PACKAGE_NAME rather than constant "Bi…
Browse files Browse the repository at this point in the history
…tcoin Core"

197b540 QA: Expect PACKAGE_NAME rather than constant "Bitcoin Core" (Luke Dashjr)

Pull request description:

  Followup to bitcoin#29144

ACKs for top commit:
  kevkevinpal:
    ACK [197b540](bitcoin@197b540)
  tdb3:
    ACK 197b540

Tree-SHA512: 6a2c7f7da56effa7e3eba1d103b1b4442d74a21f2ba588564cddd6d61a46c3721bf0942d4ac947ecbbbfe476501ab7b03a8414d7d0840ce9106b056811583010
  • Loading branch information
fanquake committed Jun 24, 2024
2 parents aef5ac7 + 197b540 commit a57da5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/feature_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def run_test(self):

# 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)

Expand Down

0 comments on commit a57da5e

Please sign in to comment.