[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
96/105: gnu: python-httpretty: Enable tests.
From: |
guix-commits |
Subject: |
96/105: gnu: python-httpretty: Enable tests. |
Date: |
Wed, 25 Dec 2024 10:21:01 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 704eefdb4a6cf3c1399ee6d695adcfc43bd28c4d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Dec 20 21:51:58 2024 +0100
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
---
gnu/packages/web.scm | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 83ee2012fb..e519964170 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -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)
@@ -7100,17 +7101,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
- 51/105: gnu: Add python-repoze-lru., (continued)
- 51/105: gnu: Add python-repoze-lru., guix-commits, 2024/12/25
- 62/105: gnu: python-zarr: Update to 2.18.4., guix-commits, 2024/12/25
- 67/105: gnu: python-chardet: Update to 5.2.0., guix-commits, 2024/12/25
- 71/105: gnu: python-devtools: Simplify., guix-commits, 2024/12/25
- 72/105: gnu: python-waitress: Update to 3.0.2., guix-commits, 2024/12/25
- 74/105: gnu: python-httpx: Update to 0.28.1., guix-commits, 2024/12/25
- 76/105: gnu: python-a2wsgi: Disable one test., guix-commits, 2024/12/25
- 73/105: gnu: python-uvicorn: Update to 0.34.0., guix-commits, 2024/12/25
- 53/105: gnu: Add python-packaging-legacy., guix-commits, 2024/12/25
- 81/105: gnu: python-pydevd: Disable CI tests., guix-commits, 2024/12/25
- 96/105: gnu: python-httpretty: Enable tests.,
guix-commits <=
- 100/105: gnu: macs-3: Add missing input., guix-commits, 2024/12/25
- 17/105: gnu: python-flask-restx: Update to 1.3.0., guix-commits, 2024/12/25
- 20/105: gnu: make-torbrowser: Remove bzip2 from inputs., guix-commits, 2024/12/25
- 22/105: gnu: make-torbrowser: Unbundle libwebp., guix-commits, 2024/12/25
- 23/105: gnu: make-torbrowser: Use ffmpeg-7., guix-commits, 2024/12/25
- 27/105: gnu: go-github-com-arceliar-ironwood: Update to v0.0.0-20241210120540-9deb08d9f8f9., guix-commits, 2024/12/25
- 02/105: gnu: txr: Update to 298., guix-commits, 2024/12/25
- 35/105: gnu: python-cattrs: Update to 24.1.2., guix-commits, 2024/12/25
- 38/105: gnu: python-pyramid: Update to 2.0.2., guix-commits, 2024/12/25
- 89/105: gnu: python-pandas-2: Remove X., guix-commits, 2024/12/25