guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 69c788282f7006a386a31ff6e4e97493311190dc
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 14 08:59:32 2025 +0100
gnu: python-pyquery: Skip more tests.
* gnu/packages/python-xyz.scm (python-pyquery)[arguments] <test-flags>:
Refactor skipped tests to use "--deselect" option and add 6 more items to
the list.
Change-Id: Ic006521b36ae3494dfa88c25fcbffc11a32494dc
---
gnu/packages/python-xyz.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 24b41b77af..1f0b56a4f4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20710,8 +20710,23 @@ project template.")
"1brg6aawb9m5mdfmc6g7v5r6pczbx67r4l9cn5yh6bdi0qkvp501"))))
(build-system pyproject-build-system)
(arguments
- ;; This test requires network access.
- (list #:test-flags #~(list "-k" "not test_get")))
+ (list
+ #:test-flags
+ #~(list #$@(map (lambda (test) (string-append
+ "--deselect=tests/test_pyquery.py::"
+ test))
+ (list
+ ;; AssertionError: 'REQUEST_METHOD: POST' not found in
''
+ "TestWebScrapping::test_post"
+ ;; AssertionError: 'HTTP_X_FOO: bar' not found in ''
+ "TestWebScrapping::test_session"
+ ;; Assertion is not equal.
+ "TestManipulating::test_val_for_textarea"
+ "TestHTMLParser::test_replaceWith"
+ "TestHTMLParser::test_replaceWith_with_function"
+ ;; Network access is required.
+ "TestWebScrapping::test_get"
+ "TestWebScrappingEncoding::test_get")))))
(native-inputs
(list python-pytest
python-pytest-cov