diff options
author | Marius Bakke <marius@gnu.org> | 2021-07-31 13:45:21 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-08-01 23:24:47 +0200 |
commit | 5e4cdb5b3b1da71788d659941bf31756b1adb45a (patch) | |
tree | 9a95d633e5b73414087acfae55ccb4f1b9dc3d59 /gnu | |
parent | 1f82eeec8d2190a85cee1ab630470a01bb3e968c (diff) | |
download | guix-5e4cdb5b3b1da71788d659941bf31756b1adb45a.tar.gz |
gnu: python-django: Fix test failure.
* gnu/packages/django.scm (python-django)[arguments]: Set PYTHONPATH.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/django.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 1988630282..3c4ea5efeb 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -79,6 +79,8 @@ (lambda* (#:key tests? #:allow-other-keys) (if tests? (with-directory-excursion "tests" + ;; Tests expect PYTHONPATH to contain the root directory. + (setenv "PYTHONPATH" "..") (invoke "python" "runtests.py" ;; By default tests run in parallel, which may cause ;; various race conditions. Run sequentially for |