From e0f354415b39dbff9375918d6b762a7e90db03c1 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Sun, 25 Dec 2022 20:31:20 +0200 Subject: fix TestArComp::test_missing_tar when gtar is installed Signed-off-by: Arthur Zamarin --- tests/compression/test_init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compression/test_init.py b/tests/compression/test_init.py index f1fe5bd..9219560 100644 --- a/tests/compression/test_init.py +++ b/tests/compression/test_init.py @@ -46,7 +46,7 @@ class TestArComp: ArComp(file, ext=".foo") def test_missing_tar(self, tmp_path, tar_file): - with hide_binary("tar"), chdir(tmp_path): + with hide_binary("gtar", "tar"), chdir(tmp_path): with pytest.raises(ArCompError, match="required binary not found"): ArComp(tar_file, ext=".tar").unpack(dest=tmp_path) -- cgit v1.2.3-65-gdbad