test: Ignore AWS tests that depend on the File System (#817)

Update AWS module tests to ignore the two tests that can fail if the
`~/.aws/config` file exists.
This commit is contained in:
Thomas O'Donnell 2020-01-09 01:22:42 +01:00 committed by Kevin Song
parent f1b27f5572
commit 0879381bcd

View file

@ -7,6 +7,7 @@ use tempfile;
use crate::common::{self, TestCommand};
#[test]
#[ignore]
fn no_region_set() -> io::Result<()> {
let output = common::render_module("aws")
.env("PATH", env!("PATH"))
@ -235,6 +236,7 @@ fn region_set_with_display_profile() -> io::Result<()> {
}
#[test]
#[ignore]
fn region_not_set_with_display_region() -> io::Result<()> {
let output = common::render_module("aws")
.use_config(toml::toml! {