From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-subtests/
Date: Fri, 3 Apr 2020 10:29:56 +0000 (UTC) [thread overview]
Message-ID: <1585909787.0e4e63d376cff52fa014a53c39a09dd205250f96.andrewammerlaan@gentoo> (raw)
commit: 0e4e63d376cff52fa014a53c39a09dd205250f96
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Apr 3 10:29:47 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr 3 10:29:47 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e4e63d3
dev-python/pytest-subtests: fix tests if pakcage ...
is not already installed
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild
index 06cf27f..3e44500 100644
--- a/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild
+++ b/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild
@@ -32,3 +32,10 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
+
+python_test() {
+ # tests fail if package is not installed
+ # workaround is to add source to PYTHONPATH
+ PYTHONPATH="${S}"
+ pytest -vv || die
+}
next reply other threads:[~2020-04-03 10:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-03 10:29 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-03-26 11:22 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-subtests/ Mathieu Tortuyaux
2020-12-18 14:15 Andrew Ammerlaan
2020-11-08 13:56 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-11-08 13:56 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-15 11:35 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-15 11:34 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-02 23:04 Alessandro Barbieri
2020-03-30 19:56 Alessandro Barbieri
2020-03-28 11:08 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-28 11:00 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-02-10 14:19 Andrew Ammerlaan
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=1585909787.0e4e63d376cff52fa014a53c39a09dd205250f96.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--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