me
/
guix
Archived
1
0
Fork 0

gnu: python-django-pipeline: Fix tests.

* gnu/packages/django.scm (python-django-pipeline)[arguments]:
Set PYTHONPATH before running tests.
master
Tobias Geerinckx-Rice 2019-11-23 15:37:15 +01:00
parent 63e633c6f6
commit 74eee9f27d
No known key found for this signature in database
GPG Key ID: D889B0F018C5493C
1 changed files with 3 additions and 0 deletions

View File

@ -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