gnu: python-geventhttpclient: Fix test failure.

* gnu/packages/python-web.scm (python-geventhttpclient)[arguments]: Add
"--import-mode=append" to pytest invokation.
master
Marius Bakke 2018-12-02 18:08:42 +01:00
parent a8fdca11d8
commit 0e02e81936
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 4 additions and 1 deletions

View File

@ -1765,7 +1765,10 @@ library.")
(add-after 'install 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(invoke "py.test" "src/geventhttpclient/tests" "-v")
(invoke "py.test" "src/geventhttpclient/tests" "-v"
;; Append the test modules to sys.path to avoid
;; namespace conflict which breaks SSL tests.
"--import-mode=append")
#t)))))
(native-inputs
`(("python-pytest" ,python-pytest)))