diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-06-30 14:49:59 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-07-15 20:18:11 +0200 |
commit | fae596f0e421148b797197baff089a87b3193dbd (patch) | |
tree | 4c2a8a9dbe33901ce14b1e8412157511d4b1b239 /qa/rpc-tests/segwit.py | |
parent | 3685e0c1da296be533fef4abcf1b1734ed7d85e7 (diff) |
[qa] Sort scripts by time for pull_tester and don't overwrite setup_chain
Diffstat (limited to 'qa/rpc-tests/segwit.py')
-rwxr-xr-x | qa/rpc-tests/segwit.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qa/rpc-tests/segwit.py b/qa/rpc-tests/segwit.py index d4c9a8afed..f88230cbb9 100755 --- a/qa/rpc-tests/segwit.py +++ b/qa/rpc-tests/segwit.py @@ -71,9 +71,10 @@ def getutxo(txid): class SegWitTest(BitcoinTestFramework): - def setup_chain(self): - print("Initializing test directory "+self.options.tmpdir) - initialize_chain_clean(self.options.tmpdir, 3) + def __init__(self): + super().__init__() + self.setup_clean_chain = True + self.num_nodes = 3 def setup_network(self): self.nodes = [] |