gnu: python-django-filter: Fix test suite.

* gnu/packages/django.scm (python-django-filter,
  python2-django-filter)[arguments]: Replace 'check' phase with custom command.
This commit is contained in:
Marius Bakke 2016-12-14 12:43:36 +01:00
parent 281cc11c8e
commit 55ab64516b
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 0 deletions

View File

@ -167,6 +167,12 @@ useful tools for testing Django applications and projects.")
(base32 (base32
"0f78hmk8c903zwfzlsiw7ivgag81ymmb5hi73rzxbhnlg2v0l3fx")))) "0f78hmk8c903zwfzlsiw7ivgag81ymmb5hi73rzxbhnlg2v0l3fx"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(zero? (system* "python" "runtests.py")))))))
(native-inputs (native-inputs
`(("python-django" ,python-django) `(("python-django" ,python-django)
("python-mock" ,python-mock))) ("python-mock" ,python-mock)))