aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/blockchain.py
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-09 15:50:10 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-09-17 11:38:28 +0000
commit51bd45c3528242d16eaa404679dab0d7440dc0e7 (patch)
tree477b946b8d14627db6c719b1a517db15f86e3c8a /tests/functional_tests/blockchain.py
parentfunctional_tests: add is_key_image_spent tests (diff)
downloadmonero-51bd45c3528242d16eaa404679dab0d7440dc0e7.tar.xz
functional_tests: add save_bc
Diffstat (limited to '')
-rwxr-xr-xtests/functional_tests/blockchain.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional_tests/blockchain.py b/tests/functional_tests/blockchain.py
index 2c3f34c35..92857eae3 100755
--- a/tests/functional_tests/blockchain.py
+++ b/tests/functional_tests/blockchain.py
@@ -330,6 +330,9 @@ class BlockchainTest():
for txid in [alt_blocks[0], alt_blocks[2], alt_blocks[4]]:
assert len([chain for chain in res.chains if chain.block_hash == txid]) == 1
+ print('Saving blockchain explicitely')
+ daemon.save_bc()
+
if __name__ == '__main__':
BlockchainTest().run_test()