summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2016-12-14 12:43:36 +0100
committerMarius Bakke <mbakke@fastmail.com>2016-12-14 12:43:36 +0100
commit55ab64516bf8bcb27833479fb3c0df2a7ed06d6b (patch)
tree733223e6c33d02fea2b8c0963468923834a454ad /gnu
parent281cc11c8e33c1e1a558cc2bf4af924881f55c40 (diff)
downloadpatches-55ab64516bf8bcb27833479fb3c0df2a7ed06d6b.tar
patches-55ab64516bf8bcb27833479fb3c0df2a7ed06d6b.tar.gz
gnu: python-django-filter: Fix test suite.
* gnu/packages/django.scm (python-django-filter, python2-django-filter)[arguments]: Replace 'check' phase with custom command.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/django.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 93fc42f96f..415ee60a20 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)))