commit:     ebbb58d781061676653cfbd2000d1ef4d6865563
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Wed Jan 31 09:58:02 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 18 12:54:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebbb58d7

net-nntp/sabnzbd: test cleanup

Signed-off-by: Joe Kappus <joe <AT> wt.gd>
Closes: https://github.com/gentoo/gentoo/pull/35112
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-nntp/sabnzbd/sabnzbd-4.2.2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-nntp/sabnzbd/sabnzbd-4.2.2.ebuild 
b/net-nntp/sabnzbd/sabnzbd-4.2.2.ebuild
index a2e984203831..f035384b9b22 100644
--- a/net-nntp/sabnzbd/sabnzbd-4.2.2.ebuild
+++ b/net-nntp/sabnzbd/sabnzbd-4.2.2.ebuild
@@ -61,6 +61,7 @@ BDEPEND="
                        dev-python/pyfakefs[${PYTHON_USEDEP}]
                        dev-python/pytest-httpbin[${PYTHON_USEDEP}]
                        dev-python/pytest-httpserver[${PYTHON_USEDEP}]
+                       dev-python/pytest-mock[${PYTHON_USEDEP}]
                        dev-python/pytest[${PYTHON_USEDEP}]
                        dev-python/requests[${PYTHON_USEDEP}]
                        dev-python/selenium[${PYTHON_USEDEP}]
@@ -92,7 +93,7 @@ src_test() {
                'tests/test_newswrapper.py::TestNewsWrapper'
                'tests/test_happyeyeballs.py::TestHappyEyeballs'
                'tests/test_internetspeed.py::TestInternetSpeed'
-               # Doesn't work, complains mocker missing even when pytest-mock 
installed
+               # Doesn't work, fixture 'fs' not found
                'tests/test_dirscanner.py::TestDirScanner'
                # Just plain fails
                'tests/test_newsunpack.py::TestPar2Repair::test_basic'
@@ -116,8 +117,7 @@ src_test() {
        )
 
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-       local -x PYTEST_PLUGINS=tavern._core.pytest
-       epytest -s
+       epytest -s -p pytest_mock -p tavern
 }
 
 src_install() {

Reply via email to