pythonPackages.celery: fix tests

This commit is contained in:
Jonathan Ringer 2019-12-22 11:34:42 -08:00 committed by Frederik Rietdijk
parent 5d5c957cbd
commit f4bfc4e3de

View file

@ -19,9 +19,11 @@ buildPythonPackage rec {
# ignore test that's incompatible with pytest5
# test_eventlet touches network
# test_mongodb requires pymongo
checkPhase = ''
pytest -k 'not restore_current_app_fallback' \
--ignore=t/unit/concurrency/test_eventlet.py
pytest -k 'not restore_current_app_fallback and not msgpack' \
--ignore=t/unit/concurrency/test_eventlet.py \
--ignore=t/unit/backends/test_mongodb.py
'';
checkInputs = [ case pytest boto3 moto ];