diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-24 22:37:15 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-24 22:37:16 +0200 |
commit | eb1da46ac198aed18bc70129c8cf6c80cf45fcf6 (patch) | |
tree | 5326c0ecccde02dab44d0712ed132df71b380e38 /tests/functional_tests/txpool.py | |
parent | Merge pull request #5466 (diff) | |
parent | functional_tests: reset blockchain on test start (diff) | |
download | monero-eb1da46ac198aed18bc70129c8cf6c80cf45fcf6.tar.xz |
Merge pull request #5467
aba2b2e7 functional_tests: reset blockchain on test start (moneromooo-monero)
375fde94 hardfork: fix off by one updating fork index after popping (moneromooo-monero)
Diffstat (limited to 'tests/functional_tests/txpool.py')
-rwxr-xr-x | tests/functional_tests/txpool.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/functional_tests/txpool.py b/tests/functional_tests/txpool.py index 71109c9e5..d74395f10 100755 --- a/tests/functional_tests/txpool.py +++ b/tests/functional_tests/txpool.py @@ -38,10 +38,17 @@ from framework.wallet import Wallet class TransferTest(): def run_test(self): + self.reset() self.create() self.mine() self.check_txpool() + def reset(self): + print 'Resetting blockchain' + daemon = Daemon() + daemon.pop_blocks(1000) + daemon.flush_txpool() + def create(self): print 'Creating wallet' wallet = Wallet() |