public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: tests/compression/
@ 2022-12-25 18:32 Arthur Zamarin
  0 siblings, 0 replies; only message in thread
From: Arthur Zamarin @ 2022-12-25 18:32 UTC (permalink / raw
  To: gentoo-commits

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)
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-25 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-25 18:32 [gentoo-commits] proj/pkgcore/snakeoil:master commit in: tests/compression/ Arthur Zamarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox