From b9a54de522bf2a70756146733ecab505b39fedb3 Mon Sep 17 00:00:00 2001 From: David Roman Date: Thu, 11 Jul 2024 11:25:55 +0200 Subject: [PATCH] dev-python/python-statemachine: fix tests Closes: https://bugs.gentoo.org/935810 Signed-off-by: David Roman --- .../python-statemachine-2.3.3.ebuild | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dev-python/python-statemachine/python-statemachine-2.3.3.ebuild b/dev-python/python-statemachine/python-statemachine-2.3.3.ebuild index 22c2d76b3f..d2640619ba 100644 --- a/dev-python/python-statemachine/python-statemachine-2.3.3.ebuild +++ b/dev-python/python-statemachine/python-statemachine-2.3.3.ebuild @@ -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=""' + }