mirror of
https://github.com/Llewellynvdm/starship.git
synced 2025-01-28 01:28:33 +00:00
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:
parent
f1b27f5572
commit
0879381bcd
@ -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! {
|
||||
|
Loading…
x
Reference in New Issue
Block a user