gnu: python-pytest-remotedata: Fix tests.

* gnu/packages/python-check.scm (python-pytest-remotedata): Fix tests.
[arguments]<test-flags>: Ignore one more test, enable parallel tests.
[native-inputs]: Add python-pytest-xdist.

Change-Id: Ib5f58f415491ea4f5090af8bf47d31584edb037b
This commit is contained in:
Sharlatan Hellseher 2024-11-22 14:01:05 +00:00
parent 06cb215d9d
commit 7b7b0563e2
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1012,12 +1012,18 @@ were inadvertently left open at the end of a unit test.")
(build-system pyproject-build-system)
(arguments
(list
#:test-flags #~(list "-k" (string-append
"not test_default_behavior"
" and not test_strict_behavior"
" and not test_strict_with_decorator"))))
#:test-flags
#~(list "--numprocesses" (number->string (parallel-job-count))
"-k" (string-join
;; Network access is required.
(list "not test_internet_access"
;; Failed with assertion error.
"test_default_behavior"
"test_strict_with_decorator")
" and not "))))
(native-inputs
(list python-pytest
python-pytest-xdist
python-setuptools
python-setuptools-scm
python-wheel))