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
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user