diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-14 08:59:32 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-14 09:11:06 +0100 |
| commit | 69c788282f7006a386a31ff6e4e97493311190dc (patch) | |
| tree | c44b9b343ef421e31a85257617a135febe7202b7 /gnu | |
| parent | 92c7757f56bfd3df00b80324a22636c7929100b3 (diff) | |
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
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 24b41b77af4..1f0b56a4f41 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 |
