mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07: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:
committed by
Kevin Song
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! {
|
||||
|
||||
Reference in New Issue
Block a user