config: separate the asmap finding and parsing checks

and update the tests.
This commit is contained in:
Jon Atack
2019-12-29 18:52:10 +01:00
parent 81c38a2497
commit b8d0412b21
2 changed files with 6 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ class AsmapTest(BitcoinTestFramework):
def test_default_asmap_with_missing_file(self):
self.log.info('Test bitcoind -asmap with missing default map file')
self.stop_node(0)
msg = "Error: Could not find or parse specified asmap: '\"{}\"'".format(self.default_asmap)
msg = "Error: Could not find asmap file '\"{}\"'".format(self.default_asmap)
self.node.assert_start_raises_init_error(extra_args=['-asmap'], expected_msg=msg)
def run_test(self):