diff options
author | Bernát Gábor <gaborjbernat@gmail.com> | 2022-12-08 08:28:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-08 08:28:35 -0800 |
commit | ab5ea45d00ef7b8d40f41440fd1bf7a160034baf (patch) | |
tree | 544c721bc2b225459d9fa8aa5101796f7641b5ce /tests/session | |
parent | 31ad830867490e7b69a65605d919104f8b18fb7d (diff) | |
download | tox-git-ab5ea45d00ef7b8d40f41440fd1bf7a160034baf.tar.gz |
Show host python under core section as constant (#2644)
Diffstat (limited to 'tests/session')
-rw-r--r-- | tests/session/cmd/test_show_config.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/session/cmd/test_show_config.py b/tests/session/cmd/test_show_config.py index 0fa43029..eaddf720 100644 --- a/tests/session/cmd/test_show_config.py +++ b/tests/session/cmd/test_show_config.py @@ -219,3 +219,10 @@ def test_show_config_timeout_custom(tox_project: ToxProjectCreator) -> None: def test_show_config_help(tox_project: ToxProjectCreator) -> None: outcome = tox_project({"tox.ini": ""}).run("c", "-h") outcome.assert_success() + + +def test_show_config_core_host_python(tox_project: ToxProjectCreator) -> None: + project = tox_project({"tox.ini": ""}) + outcome = project.run("c", "--core", "-e", "py", "-k", "host_python") + outcome.assert_success() + assert f"host_python = {sys.executable}" in outcome.out |