From 315f1b0d75754b806d434fa26dd1c6d383f21608 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 11 Apr 2021 10:57:22 +0200 Subject: dev-python/moto: Force-disable pytest-django to fix test failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/moto/moto-2.0.2.ebuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'dev-python/moto') diff --git a/dev-python/moto/moto-2.0.2.ebuild b/dev-python/moto/moto-2.0.2.ebuild index 9116b3688f7f..3fd5af1d7a64 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' } -- cgit v1.2.3-65-gdbad