From 285291b2ed735c557f2348fe52447c0fd893b09d Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Mon, 12 Mar 2018 03:35:07 +0200 Subject: [PATCH] Ignore tests that need access to the host system. --- hammond-data/src/utils.rs | 2 ++ hammond-gtk/src/manager.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/hammond-data/src/utils.rs b/hammond-data/src/utils.rs index b19e76c..29138f1 100644 --- a/hammond-data/src/utils.rs +++ b/hammond-data/src/utils.rs @@ -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_); diff --git a/hammond-gtk/src/manager.rs b/hammond-gtk/src/manager.rs index 1c86a1e..c4ead04 100644 --- a/hammond-gtk/src/manager.rs +++ b/hammond-gtk/src/manager.rs @@ -174,6 +174,8 @@ mod tests { } #[test] + // This test needs access to local system so we ignore it by default. + #[ignore] fn test_dl_steal_the_stars() { let url = "https://web.archive.org/web/20180120104957if_/https://rss.art19.com/steal-the-stars";