From e965e9989a406ef31d461702b2959f97e03e7250 Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Wed, 12 Feb 2025 15:04:30 +0100 Subject: [PATCH] fix: remove cache dir in pixi build tests (#3116) --- tests/integration_python/test_docs_examples.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/integration_python/test_docs_examples.py b/tests/integration_python/test_docs_examples.py index 7484294dc..1a9addd69 100644 --- a/tests/integration_python/test_docs_examples.py +++ b/tests/integration_python/test_docs_examples.py @@ -25,9 +25,6 @@ def test_doc_pixi_projects( pixi_project: Path, pixi: Path, tmp_pixi_workspace: Path, snapshot: SnapshotAssertion ) -> None: - # TODO: Setting the cache dir shouldn't be necessary! - env = {"PIXI_CACHE_DIR": str(tmp_pixi_workspace.joinpath("pixi_cache"))} - # Remove existing .pixi folders shutil.rmtree(pixi_project.joinpath(".pixi"), ignore_errors=True) @@ -39,7 +36,7 @@ def test_doc_pixi_projects( # Run task 'start' output = verify_cli_command( - [pixi, "run", "--locked", "--manifest-path", manifest, "start"], env=env + [pixi, "run", "--locked", "--manifest-path", manifest, "start"], ) assert output.stdout == snapshot