gnu: python-django: Fix test failure.
* gnu/packages/django.scm (python-django)[arguments]: Set PYTHONPATH.
parent
1f82eeec8d
commit
5e4cdb5b3b
|
@ -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
|
||||
|
|
Reference in New Issue