From 197b5404b0f4a1d6e989000845b45c8bd24e0bc6 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Mon, 17 Jun 2024 14:10:53 +0000 Subject: [PATCH] QA: Expect PACKAGE_NAME rather than constant "Bitcoin Core" --- test/functional/feature_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/feature_settings.py b/test/functional/feature_settings.py index 0214e781de0c4..1cd0aeabd3265 100755 --- a/test/functional/feature_settings.py +++ b/test/functional/feature_settings.py @@ -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)