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()?;
|
.output()?;
|
||||||
let actual = String::from_utf8(output.stdout).unwrap();
|
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);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
@ -120,7 +120,7 @@ fn folder_with_init_py() -> io::Result<()> {
|
||||||
.output()?;
|
.output()?;
|
||||||
let actual = String::from_utf8(output.stdout).unwrap();
|
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);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
@ -212,7 +212,7 @@ fn disabled_scan_for_pyfiles_and_folder_with_setup_py() -> io::Result<()> {
|
||||||
.output()?;
|
.output()?;
|
||||||
let actual = String::from_utf8(output.stdout).unwrap();
|
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);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue