mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-27 19:35:10 -06:00
gnu: python-httpretty: Enable tests.
* gnu/packages/web.scm (python-httpretty)[arguments]: Enable most tests. [native-inputs]: Add nss-certs-for-test, python-freezegun, python-httplib2, and python-pyparsing. Change-Id: I08d2c14a2e81559d41dc38f0eeb34c2d6c59125a
This commit is contained in:
parent
aa704e51ab
commit
2825921d1e
1 changed files with 11 additions and 5 deletions
|
|
@ -118,6 +118,7 @@
|
|||
#:use-module (gnu packages bittorrent)
|
||||
#:use-module (gnu packages boost)
|
||||
#:use-module (gnu packages build-tools)
|
||||
#:use-module (gnu packages certs)
|
||||
#:use-module (gnu packages check)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages cpp)
|
||||
|
|
@ -7110,17 +7111,22 @@ efficient where possible.")
|
|||
(base32 "0s1vjdaf3pk2xd0hvi5f7p3jm2rgwpbc734jdp9r50m1smfhxpi0"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; Tests require network access.
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(list
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "nosetests")))))))
|
||||
(setenv "EVENTLET_NO_GREENDNS" "YES")
|
||||
(invoke "nosetests" "--exclude=(passthrough|streaming|httpretty_should_handle)")))))))
|
||||
(native-inputs
|
||||
(list python-coverage
|
||||
(list nss-certs-for-test
|
||||
python-coverage
|
||||
python-eventlet
|
||||
python-freezegun
|
||||
python-httplib2
|
||||
python-nose
|
||||
python-pyparsing
|
||||
python-rednose
|
||||
python-requests
|
||||
python-sure
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue