Ensuring that tests won't step on real key files

This commit is contained in:
Dave Hrycyszyn
2024-06-06 14:48:14 +01:00
parent 16fe760e10
commit db0a6a0725
2 changed files with 12 additions and 9 deletions

View File

@@ -11,7 +11,8 @@ async fn main() {
match &args.command {
Some(Commands::Init {}) => {
let _ = init::init();
let home = std::env::var("HOME").expect("couldn't read home directory env variable");
let _ = init::init(home);
}
Some(Commands::Run {}) => {
let (mut bft_crdt, keys) = list_transaction_crdt::new();