gnu: python-django-sortedm2m: Fix tests.
This is a follow-up to commit 283d5ac97f
.
* gnu/packages/django.scm (python-django-sortedm2m): Invoke django-admin with
pythonpath and test settings.
master
parent
ddea9e32e7
commit
e73f565445
|
@ -929,8 +929,9 @@ using Python multiprocessing.")
|
|||
`(#:phases (modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "python" "django-admin.py"
|
||||
"test" "--settings=settings"))))))
|
||||
(invoke "django-admin"
|
||||
"test" "--settings=test_project.settings"
|
||||
"--pythonpath=."))))))
|
||||
(propagated-inputs
|
||||
`(("python-django" ,python-django)))
|
||||
(home-page "https://github.com/jazzband/django-sortedm2m")
|
||||
|
|
Reference in New Issue