From 74eee9f27da6a9d76281de57c40a78a2495ce843 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 23 Nov 2019 15:37:15 +0100 Subject: gnu: python-django-pipeline: Fix tests. * gnu/packages/django.scm (python-django-pipeline)[arguments]: Set PYTHONPATH before running tests. --- gnu/packages/django.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu/packages/django.scm') diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index a8e0277e95..7cd4c3f784 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -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 -- cgit v1.2.3