From 7e0e259a46be142b59bc554357df2b36b4d4a4f0 Mon Sep 17 00:00:00 2001 From: Alex Lowe Date: Mon, 10 Jun 2024 12:48:56 -0400 Subject: [PATCH] fix: use a better test directory for skopeo --- tests/unit/utils/test_skopeo.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/utils/test_skopeo.py b/tests/unit/utils/test_skopeo.py index 9e1171635..aa4061dc1 100644 --- a/tests/unit/utils/test_skopeo.py +++ b/tests/unit/utils/test_skopeo.py @@ -64,7 +64,9 @@ def test_find_skopeo_success(fake_process): pytest.param({"os": "linux"}, ["--override-os", "linux"], id="os-linux"), pytest.param({"os": "bsd"}, ["--override-os", "bsd"], id="os-bsd"), pytest.param( - {"tmpdir": pathlib.Path("/run/user/1000")}, ["--tmpdir", "/run/user/1000"], id="tmpdir" + {"tmpdir": pathlib.Path("/tmp/skopeo_tmp")}, + ["--tmpdir", "/tmp/skopeo_tmp"], + id="tmpdir", ), ], )