dev-python/python-statemachine: fix tests

Closes: https://bugs.gentoo.org/935810
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman 2024-07-11 11:25:55 +02:00
parent c0ce47df94
commit b9a54de522
No known key found for this signature in database
GPG Key ID: FFAD0D85E1A0C8D7

View File

@ -24,12 +24,25 @@ RDEPEND="dev-python/pydot[${PYTHON_USEDEP}]"
BDEPEND="
${RDEPEND}
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-django[${PYTHON_USEDEP}]
dev-python/django[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
tests/test_mixins.py::test_mixin_should_instantiate_a_machine
)
EPYTEST_IGNORE=(
tests/test_profiling.py
tests/django_project/workflow/tests.py
)
python_test() {
epytest -o 'addopts=""' --ignore=tests/test_profiling.py
epytest -o 'addopts=""'
}