public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Wolfgang E. Sanyer" <ezzieyguywuf@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-backup/b2/
Date: Tue,  4 Jun 2024 19:00:06 +0000 (UTC)	[thread overview]
Message-ID: <1717527593.892e054f8c7ae80ac69c080eb54e72e0ecf8453e.ezzieyguywuf@gentoo> (raw)

commit:     892e054f8c7ae80ac69c080eb54e72e0ecf8453e
Author:     Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
AuthorDate: Tue Jun  4 18:55:53 2024 +0000
Commit:     Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
CommitDate: Tue Jun  4 18:59:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=892e054f

app-backup/b2-3.18.0: fix broken tests.

On the last version bump, the number of skipped tests was decreased in
an attempt to improve test coverage. This was poorly tested resulting in
failing tests.

Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail.com>
Closes: https://bugs.gentoo.org/932105

 app-backup/b2/b2-3.18.0.ebuild | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/app-backup/b2/b2-3.18.0.ebuild b/app-backup/b2/b2-3.18.0.ebuild
index de51fe0a3..d9cef16ef 100644
--- a/app-backup/b2/b2-3.18.0.ebuild
+++ b/app-backup/b2/b2-3.18.0.ebuild
@@ -48,11 +48,25 @@ DEPEND="
 
 distutils_enable_tests pytest
 
-# - integration tests require an application key and id (which is reasonable)
-# - sync tests require network access
+EPYTEST_DESELECT=(
+	# fixture 'worker_id' not found
+	"test/integration/test_b2_command_line.py"
+	"test/integration/test_help.py::test_help"
+	"test/integration/test_autocomplete.py"
+
+	# Timeout exceeded
+	# I think this is trying to access files outside of the sandbox
+	"test/unit/console_tool/test_install_autocomplete.py::test_install_autocomplete"
+
+	# TypeError: super(type, obj): obj must be an instance or subtype of type
+	# This test itself does not fail, but running it causes subsequent test to
+	# fail, which otherwise pass. Not really sure why (I assume this test is
+	# somehow polluting the test fixture?) but disabling causes the other tests
+	# to pass
+	"test/unit/_cli/test_autocomplete_cache.py"
+)
 python_test() {
-	epytest --deselect test/unit/console_tool test/unit
-	epytest test/unit/console_tool
+	epytest test
 }
 
 pkg_postinst() {


             reply	other threads:[~2024-06-04 19:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-04 19:00 Wolfgang E. Sanyer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-05  0:04 [gentoo-commits] repo/proj/guru:dev commit in: app-backup/b2/ Wolfgang E. Sanyer
2024-04-03  2:40 Wolfgang E. Sanyer
2023-06-05  3:13 Wolfgang E. Sanyer
2023-03-09  7:53 Anna Vyalkova
2022-07-15  3:11 Wolfgang E. Sanyer
2021-10-01 20:23 Wolfgang E. Sanyer
2021-10-01 20:01 Wolfgang E. Sanyer
2021-10-01 18:40 Wolfgang E. Sanyer
2021-06-04 19:52 Wolfgang E. Sanyer
2021-01-04  5:19 Wolfgang E. Sanyer

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=1717527593.892e054f8c7ae80ac69c080eb54e72e0ecf8453e.ezzieyguywuf@gentoo \
    --to=ezzieyguywuf@gmail.com \
    --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