summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-12-01 00:50:51 +0100
committerMarius Bakke <marius@gnu.org>2021-12-05 14:02:09 +0100
commit88e9e9e6971d29ea6cdd3a3fd97afd025cec6547 (patch)
tree447540889c19338b03622cc264956bf12b14a46a /gnu/packages
parente73f56544571a05bfa7cdaf79766d4985ed05247 (diff)
downloadguix-88e9e9e6971d29ea6cdd3a3fd97afd025cec6547.tar.gz
gnu: python-django-pipeline: Fix tests.
* gnu/packages/django.scm (python-django-pipeline): Provide pythonpath to
django-admin.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/django.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index f30ec2c051..116a39872a 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -804,7 +804,8 @@ entries, photos, book chapters, or anything else.")
            (lambda*(#:key tests? #:allow-other-keys)
              (when tests?
                (setenv "DJANGO_SETTINGS_MODULE" "tests.settings")
-               (invoke "django-admin" "test" "tests")))))))
+               (invoke "django-admin" "test" "tests"
+                       "--pythonpath=.")))))))
     (propagated-inputs
      `(("python-css-html-js-minify" ,python-css-html-js-minify)
        ("python-django" ,python-django)