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:
parent
281cc11c8e
commit
55ab64516b
|
@ -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)))
|
||||||
|
|
Loading…
Reference in New Issue