gnu: python-django-pipeline: Fix tests.
* gnu/packages/django.scm (python-django-pipeline)[arguments]: Set PYTHONPATH before running tests.master
parent
63e633c6f6
commit
74eee9f27d
|
@ -695,6 +695,9 @@ project.")
|
|||
(or
|
||||
(not tests?)
|
||||
(begin
|
||||
(setenv "PYTHONPATH"
|
||||
(string-append (getcwd) ":"
|
||||
(getenv "PYTHONPATH")))
|
||||
(setenv "DJANGO_SETTINGS_MODULE" "tests.settings")
|
||||
(invoke "django-admin" "test" "tests"))))))))
|
||||
(propagated-inputs
|
||||
|
|
Reference in New Issue