commit: e0f354415b39dbff9375918d6b762a7e90db03c1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 25 18:31:20 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 25 18:31:20 2022 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=e0f35441
fix TestArComp::test_missing_tar when gtar is installed
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
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 f1fe5bda..92195605 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)