mod testing; use obex::obex::Obex; #[test] fn returns_the_current_commit() { let test_name = "returns_obex_commit_hash"; let obex_url = "https://github.com/parallaxinc/propeller.git"; let test_directory = testing::create_test_directory(&test_name); let new_obex = Obex::new(obex_url, &test_directory).expect("Error initializing obex"); assert!(new_obex.version().len() == 40); testing::remove_test_directory(&test_directory); }