mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-23 09:35:56 +02: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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user