[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: python-django-pipeline: Fix tests.
From: |
guix-commits |
Subject: |
07/07: gnu: python-django-pipeline: Fix tests. |
Date: |
Sat, 23 Nov 2019 09:41:21 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 74eee9f27da6a9d76281de57c40a78a2495ce843
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sat Nov 23 15:37:15 2019 +0100
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(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index a8e0277..7cd4c3f 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
- branch master updated (7e90eb9 -> 74eee9f), guix-commits, 2019/11/23
- 01/07: gnu: perl-moox-late: Update to 0.016., guix-commits, 2019/11/23
- 04/07: gnu: perl-cairo: Update to 1.107., guix-commits, 2019/11/23
- 02/07: gnu: perl-apache-logformat-compiler: Update to 0.36., guix-commits, 2019/11/23
- 03/07: gnu: python-whatever: Update to 0.6., guix-commits, 2019/11/23
- 05/07: gnu: perl-indirect: Update to 0.39., guix-commits, 2019/11/23
- 06/07: gnu: perl-file-slurp: Update to 9999.28., guix-commits, 2019/11/23
- 07/07: gnu: python-django-pipeline: Fix tests.,
guix-commits <=