[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
58/455: gnu: python-httpretty: Enable tests.
From: |
guix-commits |
Subject: |
58/455: gnu: python-httpretty: Enable tests. |
Date: |
Mon, 20 Jan 2025 15:46:33 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 2825921d1e0f34eab28b423dfeffc4234efe3d23
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 f73ecc14d4..701fa91876 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)
@@ -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
- 20/455: gnu: Add python-pypitoken., (continued)
- 20/455: gnu: Add python-pypitoken., guix-commits, 2025/01/20
- 27/455: gnu: python-biom-format: Use pyproject-build-system., guix-commits, 2025/01/20
- 14/455: gnu: Add python-strictyaml., guix-commits, 2025/01/20
- 22/455: gnu: Add python-devpi-server., guix-commits, 2025/01/20
- 51/455: gnu: python-pandas-2: Remove X., guix-commits, 2025/01/20
- 43/455: gnu: python-starlette: Update to 0.42.0., guix-commits, 2025/01/20
- 109/455: gnu: python-black: Limit number of test processes., guix-commits, 2025/01/20
- 39/455: gnu: python-devpi-process: Add missing input., guix-commits, 2025/01/20
- 125/455: gnu: python-google-auth: Update to 2.37.0., guix-commits, 2025/01/20
- 61/455: gnu: Add rust-jiter-0.2., guix-commits, 2025/01/20
- 58/455: gnu: python-httpretty: Enable tests.,
guix-commits <=
- 75/455: gnu: python-schema-salad: Update to 8.8.20241206093842., guix-commits, 2025/01/20
- 110/455: gnu: python-cattrs: Disable additional failing tests., guix-commits, 2025/01/20
- 67/455: gnu: python-markdown2: Update to 2.5.2., guix-commits, 2025/01/20
- 60/455: gnu: python-annotated-types: Update to 0.7.0., guix-commits, 2025/01/20
- 65/455: gnu: python-babel: Update to 2.16.0., guix-commits, 2025/01/20
- 114/455: gnu: python-nr-date: Remove old version of dataclasses., guix-commits, 2025/01/20
- 102/455: gnu: Add python-aiohappyeyeballs., guix-commits, 2025/01/20
- 73/455: gnu: python-cachecontrol: Update to 0.14.1., guix-commits, 2025/01/20
- 96/455: gnu: python-tables: Fix reference to library., guix-commits, 2025/01/20
- 85/455: gnu: python-cryptography: Update to 44.0.0., guix-commits, 2025/01/20