functional_tests: add save_bc

This commit is contained in:
moneromooo-monero 2019-05-09 15:50:10 +00:00
parent 230f73e121
commit 51bd45c352
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
2 changed files with 8 additions and 0 deletions

View file

@ -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()