summaryrefslogtreecommitdiffstats
path: root/tests/testsuite/python.rs
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.me>2019-09-04 19:13:53 -0400
committerGitHub <noreply@github.com>2019-09-04 19:13:53 -0400
commite66d7bae1cdf753d4106980fa35305a8375cb73a (patch)
treeaf969600f2c0256a62f4211cefa1132e50be63ee /tests/testsuite/python.rs
parent68754208c1fae976c71747fe87d8ab558922cd3f (diff)
ci: Migrate CI from Azure Pipelines to GitHub Actions (#233)
Migrated CI from Azure Pipelines to GitHub Actions. Until the release process is figured out in Actions, we'll stick to using Azure pipelines for releases.
Diffstat (limited to 'tests/testsuite/python.rs')
-rw-r--r--tests/testsuite/python.rs40
1 files changed, 0 insertions, 40 deletions
diff --git a/tests/testsuite/python.rs b/tests/testsuite/python.rs
index 6b90695a6..e978baba9 100644
--- a/tests/testsuite/python.rs
+++ b/tests/testsuite/python.rs
@@ -4,7 +4,6 @@ use std::io;
use ansi_term::Color;
use crate::common;
-use crate::common::TestCommand;
#[test]
#[ignore]
@@ -110,42 +109,3 @@ fn with_virtual_env() -> io::Result<()> {
assert_eq!(expected, actual);
Ok(())
}
-
-#[test]
-#[ignore]
-fn with_pyenv() -> io::Result<()> {
- let dir = common::new_tempdir()?;
- File::create(dir.path().join("main.py"))?;
- let output = common::render_module("python")
- .use_config(toml::toml! {
- [python]
- pyenv_version_name = true
- })
- .env("VIRTUAL_ENV", "/foo/bar/my_venv")
- .arg("--path")
- .arg(dir.path())
- .output()?;
- let actual = String::from_utf8(output.stdout).unwrap();
- let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 pyenv system"));
- assert_eq!(expected, actual);
- Ok(())
-}
-
-#[test]
-#[ignore]
-fn with_pyenv_no_output() -> io::Result<()> {
- let dir = common::new_tempdir()?;
- File::create(dir.path().join("main.py"))?;
- let output = common::render_module("python")
- .use_config(toml::toml! {
- [python]
- pyenv_version_name = true
- })
- .env("PATH", "")
- .arg("--path")
- .arg(dir.path())
- .output()?;
- let actual = String::from_utf8(output.stdout).unwrap();
- assert_eq!("", actual);
- Ok(())
-}