commit: f8da5476b6e2ad801f7a0a4ecb3c4f2df8781a90 Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Wed Jun 18 09:51:23 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Wed Jun 18 09:51:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f8da5476
dev-python/flask-restx: fix tests Closes: https://bugs.gentoo.org/945102 Signed-off-by: David Roman <davidroman96 <AT> gmail.com> dev-python/flask-restx/flask-restx-1.3.0.ebuild | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/dev-python/flask-restx/flask-restx-1.3.0.ebuild b/dev-python/flask-restx/flask-restx-1.3.0.ebuild index 5606a3c6b5..c677647c3d 100644 --- a/dev-python/flask-restx/flask-restx-1.3.0.ebuild +++ b/dev-python/flask-restx/flask-restx-1.3.0.ebuild @@ -39,12 +39,15 @@ PATCHES=( "${FILESDIR}/${PN}-avoid-importlib_resources.patch" ) distutils_enable_tests pytest -python_test() { - skip_tests=" \ - not ReqParseTest and \ - not EmailTest and \ - not URLTest and \ - not LoggingTest" - - epytest tests/test_*.py -k "${skip_tests}" -} +EPYTEST_DESELECT=( + "tests/test_swagger.py::SwaggerTest::test_specs_endpoint_host_and_subdomain" + "tests/test_fields.py::DatetimeFieldTest::test_iso8601_value" + "tests/test_fields.py::DatetimeFieldTest::test_rfc822_value" + "tests/test_inputs.py::URLTest::test_check" + "tests/test_inputs.py::EmailTest::test_valid_value_check" +) + +EPYTEST_IGNORE=( + "tests/benchmarks/bench_marshalling.py" + "tests/benchmarks/bench_swagger.py" +)
