me
/
guix
Archived
1
0
Fork 0

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
Marius Bakke 2021-12-01 00:47:58 +01:00
parent ddea9e32e7
commit e73f565445
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 3 additions and 2 deletions

View File

@ -929,8 +929,9 @@ using Python multiprocessing.")
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda _
(invoke "python" "django-admin.py" (invoke "django-admin"
"test" "--settings=settings")))))) "test" "--settings=test_project.settings"
"--pythonpath=."))))))
(propagated-inputs (propagated-inputs
`(("python-django" ,python-django))) `(("python-django" ,python-django)))
(home-page "https://github.com/jazzband/django-sortedm2m") (home-page "https://github.com/jazzband/django-sortedm2m")