From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-xvfb/
Date: Sat, 25 Nov 2023 16:14:26 +0000 (UTC) [thread overview]
Message-ID: <1700928864.50edb13ea5920b231dc841b339a608b27c677d4b.mgorny@gentoo> (raw)
commit: 50edb13ea5920b231dc841b339a608b27c677d4b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 16:13:31 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 16:14:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50edb13e
dev-python/pytest-xvfb: Fix tests with random plugins
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
index 88cb81666803..d81d8ba05ccd 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
@@ -7,10 +7,14 @@ DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="tk"
+
inherit distutils-r1 pypi
DESCRIPTION="Pytest plugin to run Xvfb for tests"
-HOMEPAGE="https://pypi.org/project/pytest-xvfb/"
+HOMEPAGE="
+ https://github.com/The-Compiler/pytest-xvfb/
+ https://pypi.org/project/pytest-xvfb/
+"
LICENSE="MIT"
SLOT="0"
@@ -19,10 +23,13 @@ KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
- x11-base/xorg-server[xvfb]"
+ x11-base/xorg-server[xvfb]
+"
distutils_enable_tests pytest
python_test() {
- epytest -p xvfb --runpytest=subprocess
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_PLUGINS=pytest_xvfb
+ epytest --runpytest=subprocess
}
next reply other threads:[~2023-11-25 16:14 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-25 16:14 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-03 12:31 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-xvfb/ Ionen Wolkens
2023-11-25 16:48 Michał Górny
2023-07-25 0:10 Ionen Wolkens
2023-07-06 12:08 Michał Górny
2023-07-05 20:52 Sam James
2023-05-29 13:35 Ionen Wolkens
2023-04-09 23:38 Ionen Wolkens
2023-04-09 23:38 Ionen Wolkens
2023-04-09 20:40 Andrew Ammerlaan
2022-10-29 19:43 Sam James
2022-09-09 22:38 Jakov Smolić
2022-09-07 7:51 Michał Górny
2022-07-02 19:26 Michał Górny
2022-07-02 18:18 Sam James
2022-06-01 10:55 Andrew Ammerlaan
2021-10-19 0:12 Sam James
2021-09-14 13:58 Arthur Zamarin
2021-09-14 13:58 Arthur Zamarin
2021-05-19 6:02 Michał Górny
2021-05-18 23:20 Sam James
2021-04-09 11:49 Joonas Niilola
2020-11-24 7:20 Agostino Sarubbo
2020-11-18 23:42 Thomas Deutschmann
2020-11-18 21:35 Thomas Deutschmann
2020-09-21 16:06 Michał Górny
2020-09-15 8:09 Joonas Niilola
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=1700928864.50edb13ea5920b231dc841b339a608b27c677d4b.mgorny@gentoo \
--to=mgorny@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