summaryrefslogtreecommitdiff
path: root/tests/tox_env/python/test_python_api.py
diff options
context:
space:
mode:
authorBernát Gábor <bgabor8@bloomberg.net>2021-01-30 11:25:17 +0000
committerGitHub <noreply@github.com>2021-01-30 11:25:17 +0000
commit6d9b2dff59f220f6b3bae1fedcb888fd113bf269 (patch)
tree9e01f09b8f09425e5fe74d20b0e7c233d7a2df9f /tests/tox_env/python/test_python_api.py
parent1e4b3cd8891fd42231ced02c6f953209a0a0f5b7 (diff)
downloadtox-git-6d9b2dff59f220f6b3bae1fedcb888fd113bf269.tar.gz
Add support for install_command virtualenv settings (#1886)
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
Diffstat (limited to 'tests/tox_env/python/test_python_api.py')
-rw-r--r--tests/tox_env/python/test_python_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tox_env/python/test_python_api.py b/tests/tox_env/python/test_python_api.py
index 390ad9b5..5ee6a19a 100644
--- a/tests/tox_env/python/test_python_api.py
+++ b/tests/tox_env/python/test_python_api.py
@@ -52,7 +52,7 @@ def test_requirements_txt(tox_project: ToxProjectCreator, monkeypatch: MonkeyPat
tox_env = result.state.tox_env("py")
assert execute_calls.call_count == 1
- exp = [str(tox_env.conf["env_python"]), "-I", "-m", "pip", "install", "-r"]
+ exp = ["python", "-I", "-m", "pip", "install", "-r"]
got_cmd = execute_calls.call_args[0][3].cmd
assert got_cmd[:-1] == exp