diff options
author | Joe Kappus <joe@wt.gd> | 2024-01-31 04:58:02 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-02-18 12:54:40 +0000 |
commit | ebbb58d781061676653cfbd2000d1ef4d6865563 (patch) | |
tree | cfccc097382daae97132f2a26f6c74ca855554b3 | |
parent | net-nntp/sabnzbd: add 4.2.2 (diff) | |
download | gentoo-ebbb58d781061676653cfbd2000d1ef4d6865563.tar.gz gentoo-ebbb58d781061676653cfbd2000d1ef4d6865563.tar.bz2 gentoo-ebbb58d781061676653cfbd2000d1ef4d6865563.zip |
net-nntp/sabnzbd: test cleanup
Signed-off-by: Joe Kappus <joe@wt.gd>
Closes: https://github.com/gentoo/gentoo/pull/35112
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | net-nntp/sabnzbd/sabnzbd-4.2.2.ebuild | 6 |
1 files 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() { |