gnu: python-django-appconf: Fix tests.

* gnu/packages/django.scm (python-django-appconf): Invoke django-admin with
custom pythonpath.
This commit is contained in:
Marius Bakke 2021-12-01 00:52:26 +01:00
parent 88e9e9e697
commit 19520996f0
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -959,7 +959,7 @@ (define-public python-django-appconf
(replace 'check
(lambda _
(setenv "DJANGO_SETTINGS_MODULE" "tests.test_settings")
(invoke "python" "django-admin.py" "test" "-v2"))))))
(invoke "django-admin" "test" "--pythonpath=."))))))
(propagated-inputs
`(("python-django" ,python-django)))
(home-page "https://github.com/django-compressor/django-appconf")