Merge #18069: test: replace 'regtest' leftovers by self.chain

eca56f89293b74f11ca631ff2a0793e970e65841 test: replace 'regtest' leftovers by self.chain (Sebastian Falbesoner)

Pull request description:

  This is a follow-up PR to #16681 (fixes #18068), replacing all remaining hardcoded `"regtest"` strings in functional tests by `self.chain`.

Top commit has no ACKs.

Tree-SHA512: 96524649b33164938e5a95215991103ed7855ebab55ef788d4816b3fa5cbc03d8f3b0d39f2247a87522f289fd7f4daf25e059900b8462b5127eb154bbee89054
This commit is contained in:
MarcoFalke 2020-02-05 10:41:36 +00:00 committed by pasta
parent c550648bd0
commit be35f1bc67
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984

View File

@ -94,8 +94,8 @@ class ConfArgsTest(BitcoinTestFramework):
'Command-line arg: rpcpassword=****', 'Command-line arg: rpcpassword=****',
'Command-line arg: rpcuser=****', 'Command-line arg: rpcuser=****',
'Command-line arg: torpassword=****', 'Command-line arg: torpassword=****',
'Config file arg: regtest="1"', 'Config file arg: %s="1"' % self.chain,
'Config file arg: [regtest] server="1"', 'Config file arg: [%s] server="1"' % self.chain,
], ],
unexpected_msgs=[ unexpected_msgs=[
'alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc0', 'alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc0',