diff options
author | Teejay <tbruno25@gmail.com> | 2023-04-05 09:51:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 09:51:24 -0700 |
commit | 52cbe9a9c717c94e80f345cc76095a19cfdd3558 (patch) | |
tree | e0a0cdb4056dfb9feb0446e5e186f6e38ef93271 /tests/session | |
parent | f6e3dc97d0ecf1caa310b377ae948338c6fa67b8 (diff) | |
download | tox-git-52cbe9a9c717c94e80f345cc76095a19cfdd3558.tar.gz |
Fix `tox_root` propagation to `work_dir` (#2962)release-4.4.10
Co-authored-by: kdestin <101366538+kdestin@users.noreply.github.com>
Co-authored-by: TJ Bruno <tj.bruno@everactive.com>
Diffstat (limited to 'tests/session')
-rw-r--r-- | tests/session/cmd/test_sequential.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/session/cmd/test_sequential.py b/tests/session/cmd/test_sequential.py index 8672234a..f3bd9231 100644 --- a/tests/session/cmd/test_sequential.py +++ b/tests/session/cmd/test_sequential.py @@ -280,7 +280,7 @@ def test_skip_pkg_install(tox_project: ToxProjectCreator, demo_pkg_inline: Path) def test_skip_develop_mode(tox_project: ToxProjectCreator, demo_pkg_setuptools: Path) -> None: proj = tox_project({"tox.ini": "[testenv]\npackage=wheel\n"}) execute_calls = proj.patch_execute(lambda r: 0 if "install" in r.run_id else None) - result = proj.run("--root", str(demo_pkg_setuptools), "--develop") + result = proj.run("--root", str(demo_pkg_setuptools), "--develop", "--workdir", str(proj.path / ".tox")) result.assert_success() calls = [(i[0][0].conf.name, i[0][3].run_id) for i in execute_calls.call_args_list] expected = [ @@ -430,7 +430,7 @@ def test_sequential_inserted_env_vars(tox_project: ToxProjectCreator, demo_pkg_i k.startswith("TOX_") or k == "VIRTUAL_ENV"]' """ project = tox_project({"tox.ini": ini}) - result = project.run("r", "--root", str(demo_pkg_inline)) + result = project.run("r", "--root", str(demo_pkg_inline), "--workdir", str(project.path / ".tox")) result.assert_success() assert re.search(f"TOX_PACKAGE={re.escape(str(project.path))}.*.tar.gz{os.linesep}", result.out) |