mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-05-17 23:56:39 +00:00
test: replace 'regtest' leftovers by self.chain
Commit 1abcecc40c518a98b7d17880657ec0247abdf125 replaced 'regtest' by self.chain 'regtest' "in almost all current tests", this commit takes care of the remaining ones.
This commit is contained in:
parent
8625446b4d
commit
eca56f8929
@ -93,8 +93,8 @@ class ConfArgsTest(BitcoinTestFramework):
|
||||
'Command-line arg: rpcpassword=****',
|
||||
'Command-line arg: rpcuser=****',
|
||||
'Command-line arg: torpassword=****',
|
||||
'Config file arg: regtest="1"',
|
||||
'Config file arg: [regtest] server="1"',
|
||||
'Config file arg: %s="1"' % self.chain,
|
||||
'Config file arg: [%s] server="1"' % self.chain,
|
||||
],
|
||||
unexpected_msgs=[
|
||||
'alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc0',
|
||||
|
@ -25,7 +25,7 @@ class DumptxoutsetTest(BitcoinTestFramework):
|
||||
|
||||
FILENAME = 'txoutset.dat'
|
||||
out = node.dumptxoutset(FILENAME)
|
||||
expected_path = Path(node.datadir) / 'regtest' / FILENAME
|
||||
expected_path = Path(node.datadir) / self.chain / FILENAME
|
||||
|
||||
assert expected_path.is_file()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user