mbakke pushed a commit to branch python-tests in repository guix. commit 55ab64516bf8bcb27833479fb3c0df2a7ed06d6b Author: Marius Bakke <mba...@fastmail.com> Date: Wed Dec 14 12:43:36 2016 +0100
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 93fc42f..415ee60 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)))