mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 02:07:56 +01:00
gnu: python-aws-xray-sdk: Set PYTHONPATH when running tests.
* gnu/packages/python-web.scm (python-aws-xray-sdk)[arguments]: Check: Set PYTHONPATH.
This commit is contained in:
parent
063dfc5636
commit
0b1f5d2477
1 changed files with 2 additions and 0 deletions
|
@ -467,6 +467,8 @@ (define-public python-aws-xray-sdk
|
|||
"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.
|
||||
|
|
Loading…
Reference in a new issue