www-misc/urlwatch: fix selectors to skip pycodestyle tests

The test suite has changed since 2.28 and the previous exclusion no
longer works.

Closes: https://bugs.gentoo.org/946328
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
This commit is contained in:
Louis Sautier
2024-12-13 02:40:54 +01:00
parent 4163f5fd81
commit e7360bf607

View File

@@ -42,12 +42,15 @@ DOCS=( CHANGELOG.md README.md )
distutils_enable_sphinx docs/source dev-python/alabaster
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# Skip code quality check
"lib/urlwatch/tests/test_pep8.py"
)
EPYTEST_DESELECT=(
# Require the pdftotext module
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test.pdf]"
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test-password.pdf]"
# Skip code quality check
"lib/urlwatch/tests/test_handler.py::test_pep8_conformance"
)
pkg_postinst() {