public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pkgcore/snakeoil:master commit in: tests/compression/
Date: Sun, 25 Dec 2022 18:32:10 +0000 (UTC)	[thread overview]
Message-ID: <1671993080.e0f354415b39dbff9375918d6b762a7e90db03c1.arthurzam@gentoo> (raw)

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)
 


                 reply	other threads:[~2022-12-25 18:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1671993080.e0f354415b39dbff9375918d6b762a7e90db03c1.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox