mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-01 09:13:54 +00:00
ci(python): Fix broken tests (#1103)
Fix the python tests that depend of having the correct version of Python installed on the build system.
This commit is contained in:
parent
965338df95
commit
5272d5c1ce
@ -103,7 +103,7 @@ fn folder_with_setup_py() -> io::Result<()> {
|
||||
.output()?;
|
||||
let actual = String::from_utf8(output.stdout).unwrap();
|
||||
|
||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
|
||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.6"));
|
||||
assert_eq!(expected, actual);
|
||||
Ok(())
|
||||
}
|
||||
@ -120,7 +120,7 @@ fn folder_with_init_py() -> io::Result<()> {
|
||||
.output()?;
|
||||
let actual = String::from_utf8(output.stdout).unwrap();
|
||||
|
||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
|
||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.6"));
|
||||
assert_eq!(expected, actual);
|
||||
Ok(())
|
||||
}
|
||||
@ -212,7 +212,7 @@ fn disabled_scan_for_pyfiles_and_folder_with_setup_py() -> io::Result<()> {
|
||||
.output()?;
|
||||
let actual = String::from_utf8(output.stdout).unwrap();
|
||||
|
||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
|
||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.6"));
|
||||
assert_eq!(expected, actual);
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user