[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50213] [PATCH 10/19] gnu: python-werkzeug: Disable tests that requi
From: |
jgart |
Subject: |
[bug#50213] [PATCH 10/19] gnu: python-werkzeug: Disable tests that require networking. |
Date: |
Thu, 26 Aug 2021 11:15:44 -0400 |
* gnu/packages/python-web.scm (python-werkzeug) [arguments]:
Disable tests that require an internet connection.
Co-authored-by: Raghav Gururajan <rg@raghavgururajan.name>
---
gnu/packages/python-web.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c464c54301..07db685e2a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4112,8 +4112,13 @@ List. Forked from and using the same API as the
publicsuffix package.")
(delete 'check)
(add-after 'install 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; requires networking
+ (for-each delete-file
+ (list "tests/middleware/test_http_proxy.py"
+ "tests/test_serving.py"
+ "tests/test_debug.py"))
(add-installed-pythonpath inputs outputs)
- (invoke "python" "-m" "pytest"))))))
+ (invoke "pytest" "-vv"))))))
(propagated-inputs
`(("python-requests" ,python-requests)))
(native-inputs
--
2.33.0
- [bug#50213] [PATCH 07/19] gnu: python-greenlet: Update to 1.1.1., (continued)
- [bug#50213] [PATCH 07/19] gnu: python-greenlet: Update to 1.1.1., jgart, 2021/08/26
- [bug#50213] [PATCH 06/19] gnu: python-pytest-xprocess: Fix linter warning to follow redirect., jgart, 2021/08/26
- [bug#50213] [PATCH 11/19] gnu: python-jinja2: Update to 3.0.1., jgart, 2021/08/26
- [bug#50213] [PATCH 13/19] gnu: python-markupsafe: Update to 2.0.1., jgart, 2021/08/26
- [bug#50213] [PATCH 16/19] gnu: python-flask: Update to 2.0.1., jgart, 2021/08/26
- [bug#50213] [PATCH 19/19] gnu: python-flask: Add missing propagated-inputs., jgart, 2021/08/26
- [bug#50213] [PATCH 18/19] gnu: python-flask: Add missing native-inputs., jgart, 2021/08/26
- [bug#50213] [PATCH 12/19] gnu: python-itsdangerous: Update to 2.0.1., jgart, 2021/08/26
- [bug#50213] [PATCH 10/19] gnu: python-werkzeug: Disable tests that require networking.,
jgart <=
- [bug#50213] [PATCH 14/19] gnu: python-markupsafe: Fix linter warning to follow redirect., jgart, 2021/08/26
- [bug#50213] [PATCH 17/19] gnu: python-flask: Use add-installed-pythonpath in the check phase., jgart, 2021/08/26
- [bug#50213] [PATCH 15/19] gnu: Add python-dotenv., jgart, 2021/08/26
- Message not available
[bug#50213] [PATCH 1/6] gnu: python-werkzeug: Update to 2.0.1., jgart, 2021/08/31