From 55ab64516bf8bcb27833479fb3c0df2a7ed06d6b Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 14 Dec 2016 12:43:36 +0100 Subject: [PATCH] gnu: python-django-filter: Fix test suite. * gnu/packages/django.scm (python-django-filter, python2-django-filter)[arguments]: Replace 'check' phase with custom command. --- gnu/packages/django.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 93fc42f96f916d9f20ef907e6830fe6230871d43..415ee60a20b8ec19e536dcfb2dfd47e6d075882d 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -167,6 +167,12 @@ useful tools for testing Django applications and projects.") (base32 "0f78hmk8c903zwfzlsiw7ivgag81ymmb5hi73rzxbhnlg2v0l3fx")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? (system* "python" "runtests.py"))))))) (native-inputs `(("python-django" ,python-django) ("python-mock" ,python-mock)))