tests: Remove created test wallets when done.

This commit is contained in:
parazyd
2021-09-24 01:15:18 +02:00
parent f33f2c30be
commit 42eb893087
2 changed files with 4 additions and 0 deletions

View File

@@ -345,6 +345,7 @@ mod tests {
assert_eq!(addr.is_none(), true);
wallet.destroy()?;
std::fs::remove_file(walletdb_path)?;
Ok(())
}

View File

@@ -311,6 +311,7 @@ mod tests {
assert_eq!(secret, keypair.private);
wallet.destroy()?;
std::fs::remove_file(walletdb_path)?;
Ok(())
}
@@ -360,6 +361,7 @@ mod tests {
assert_eq!(own_coin.witness.path(), witness.path());
wallet.destroy()?;
std::fs::remove_file(walletdb_path)?;
Ok(())
}
@@ -424,6 +426,7 @@ mod tests {
}
wallet.destroy()?;
std::fs::remove_file(walletdb_path)?;
Ok(())
}