From 0879381bcd79b920d73c901d959a92b6ca3a57f8 Mon Sep 17 00:00:00 2001 From: Thomas O'Donnell Date: Thu, 9 Jan 2020 01:22:42 +0100 Subject: [PATCH] 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. --- tests/testsuite/aws.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testsuite/aws.rs b/tests/testsuite/aws.rs index cb31c4a7..d4d57335 100644 --- a/tests/testsuite/aws.rs +++ b/tests/testsuite/aws.rs @@ -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! {