aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-12-25 20:31:20 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-12-25 20:31:20 +0200
commite0f354415b39dbff9375918d6b762a7e90db03c1 (patch)
tree81d2457a6406571e72b8d2c6d870d65578a6efa3
parentfix after removal of osutils.native_readdir.listdir (diff)
downloadsnakeoil-e0f354415b39dbff9375918d6b762a7e90db03c1.tar.gz
snakeoil-e0f354415b39dbff9375918d6b762a7e90db03c1.tar.bz2
snakeoil-e0f354415b39dbff9375918d6b762a7e90db03c1.zip
fix TestArComp::test_missing_tar when gtar is installed
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--tests/compression/test_init.py2
1 files changed, 1 insertions, 1 deletions
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)