test: Add functional test for Coinstats index

This commit is contained in:
Fabian Jahr
2019-08-26 15:49:57 -04:00
parent 3f166ecc12
commit 6a4c0c09ab
3 changed files with 87 additions and 1 deletions

View File

@@ -757,7 +757,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
os.rmdir(cache_path('wallets')) # Remove empty wallets dir
for entry in os.listdir(cache_path()):
if entry not in ['chainstate', 'blocks']: # Only keep chainstate and blocks folder
if entry not in ['chainstate', 'blocks', 'indexes']: # Only indexes, chainstate and blocks folders
os.remove(cache_path(entry))
for i in range(self.num_nodes):