~ruther/guix-local

0b1f5d24776508283c636027cb3e887271cfbc63 — Ludovic Courtès 4 years ago 063dfc5
gnu: python-aws-xray-sdk: Set PYTHONPATH when running tests.

* gnu/packages/python-web.scm (python-aws-xray-sdk)[arguments]: Check:
Set PYTHONPATH.
1 files changed, 2 insertions(+), 0 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +2 -0
@@ 467,6 467,8 @@ Model} (SAM) templates into AWS CloudFormation templates.")
                                  "tests/ext/aiohttp/test_client.py"))))
                  (replace 'check
                    (lambda _
                      ;; Allow "import tests.utils" to work as expected.
                      (setenv "PYTHONPATH" (getcwd))
                      (invoke "pytest" "-vv" "tests"))))))
    (native-inputs
     `(;; These are required for the test suite.