Ignore tests that need access to the host system.
This commit is contained in:
parent
dbbb4e589e
commit
285291b2ed
@ -318,6 +318,8 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
// This test needs access to local system so we ignore it by default.
|
||||||
|
#[ignore]
|
||||||
fn test_get_dl_folder() {
|
fn test_get_dl_folder() {
|
||||||
let foo_ = format!("{}/{}", DL_DIR.to_str().unwrap(), "foo");
|
let foo_ = format!("{}/{}", DL_DIR.to_str().unwrap(), "foo");
|
||||||
assert_eq!(get_download_folder("foo").unwrap(), foo_);
|
assert_eq!(get_download_folder("foo").unwrap(), foo_);
|
||||||
|
|||||||
@ -174,6 +174,8 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
// This test needs access to local system so we ignore it by default.
|
||||||
|
#[ignore]
|
||||||
fn test_dl_steal_the_stars() {
|
fn test_dl_steal_the_stars() {
|
||||||
let url =
|
let url =
|
||||||
"https://web.archive.org/web/20180120104957if_/https://rss.art19.com/steal-the-stars";
|
"https://web.archive.org/web/20180120104957if_/https://rss.art19.com/steal-the-stars";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user