HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
063dfc5
)
gnu: python-aws-xray-sdk: Set PYTHONPATH when running tests.
author
Ludovic Courtès
<ludo@gnu.org>
Mon, 13 Dec 2021 12:55:17 +0000
(13:55 +0100)
committer
Ludovic Courtès
<ludo@gnu.org>
Mon, 13 Dec 2021 12:55:17 +0000
(13:55 +0100)
* gnu/packages/python-web.scm (python-aws-xray-sdk)[arguments]: Check:
Set PYTHONPATH.
gnu/packages/python-web.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/packages/python-web.scm
b/gnu/packages/python-web.scm
index
73a45ca
..
78ef97f
100644
(file)
--- a/
gnu/packages/python-web.scm
+++ b/
gnu/packages/python-web.scm
@@
-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.