From ebbb58d781061676653cfbd2000d1ef4d6865563 Mon Sep 17 00:00:00 2001 From: Joe Kappus Date: Wed, 31 Jan 2024 04:58:02 -0500 Subject: net-nntp/sabnzbd: test cleanup Signed-off-by: Joe Kappus Closes: https://github.com/gentoo/gentoo/pull/35112 Signed-off-by: Sam James --- 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() { -- cgit v1.2.3-65-gdbad