~ruther/guix-local

05c2fd3685adc7f4257606e9a7f6d28753047352 — Hartmut Goebel 9 years ago 6151120
gnu: python-pytest-flakes: Fix build.

* python.scm (python-pytest-flakes): Set PYTHONPATH prior to running tests.
1 files changed, 4 insertions(+), 1 deletions(-)

M gnu/packages/python.scm
M gnu/packages/python.scm => gnu/packages/python.scm +4 -1
@@ 10960,7 10960,10 @@ failures.")
       (modify-phases %standard-phases
         (delete 'check)
         (add-after 'install 'check
           (lambda _ ; It's easier to run tests after install.
           (lambda* (#:key outputs inputs #:allow-other-keys)
             ;; It's easier to run tests after install.
             ;; Make installed package available for running the tests
             (add-installed-pythonpath inputs outputs)
             (zero? (system* "py.test" "-vv")))))))
    (native-inputs
     `(("python-coverage" ,python-coverage)