commit: 315f1b0d75754b806d434fa26dd1c6d383f21608
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 11 08:57:22 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 10:47:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315f1b0d
dev-python/moto: Force-disable pytest-django to fix test failures
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/moto/moto-2.0.2.ebuild | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/dev-python/moto/moto-2.0.2.ebuild
b/dev-python/moto/moto-2.0.2.ebuild
index 9116b3688f7..3fd5af1d7a6 100644
--- a/dev-python/moto/moto-2.0.2.ebuild
+++ b/dev-python/moto/moto-2.0.2.ebuild
@@ -65,10 +65,7 @@ python_prepare_all() {
}
python_test() {
- local deselect=(
- # network
-
tests/test_stepfunctions/test_stepfunctions.py::test_state_machine_creation_fails_with_invalid_names
- )
-
- epytest -m 'not network' ${deselect[@]/#/--deselect }
+ # pytest-django causes freezegun try to mangle stuff inside django
+ # which fails when django is not really used
+ epytest -p no:django -m 'not network'
}