Ignore tests that need access to the host system.

This commit is contained in:
Jordan Petridis
2018-03-12 03:35:07 +02:00
parent dbbb4e589e
commit 285291b2ed
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -318,6 +318,8 @@ mod tests {
}
#[test]
// This test needs access to local system so we ignore it by default.
#[ignore]
fn test_get_dl_folder() {
let foo_ = format!("{}/{}", DL_DIR.to_str().unwrap(), "foo");
assert_eq!(get_download_folder("foo").unwrap(), foo_);