From f4bfc4e3de5c467abbc39ddf38a13294a36580d6 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sun, 22 Dec 2019 11:34:42 -0800 Subject: [PATCH] pythonPackages.celery: fix tests --- pkgs/development/python-modules/celery/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix index de34ce5ba0cb..4522379fa64a 100644 --- a/pkgs/development/python-modules/celery/default.nix +++ b/pkgs/development/python-modules/celery/default.nix @@ -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 ];