Stop proxy in controller tests to allow dir cleanup on Windows (#363)

* Stop wallet proxy in controller tests to allow directory cleanup in Windows

* Update test client

* Update to latest grin master

* is_unspent -> get_unspent
This commit is contained in:
jaspervdm
2020-03-10 12:00:33 +01:00
committed by GitHub
parent 1810854b24
commit 63eb25a92b
15 changed files with 63 additions and 15 deletions
+4 -1
View File
@@ -75,7 +75,10 @@ macro_rules! open_wallet_and_add {
};
}
pub fn clean_output_dir(test_dir: &str) {
let _ = fs::remove_dir_all(test_dir);
let path = std::path::Path::new(test_dir);
if path.is_dir() {
fs::remove_dir_all(test_dir).unwrap();
}
}
pub fn setup(test_dir: &str) {