mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: python-fastapi-pagination: Fix tests.
* gnu/packages/python-web.scm (python-fastapi-pagination)[arguments] <test-flags>: Skip some tests requiring network access and provide "--asyncio-mode=auto". Change-Id: I788b0656cba44729984a6c1f8dcbd8a276967b7a
This commit is contained in:
@@ -12119,7 +12119,16 @@ return paginated responses to your clients.")
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
'(list "--unit-tests" "--ignore=tests/ext")
|
||||
#~(list "--asyncio-mode=auto"
|
||||
"--unit-tests"
|
||||
"--ignore=tests/ext"
|
||||
;; Netwok access is required.
|
||||
"-k" (string-join
|
||||
(list "not test_optional_params[postgres-default]"
|
||||
"test_optional_params[postgres-limit-offset]"
|
||||
"test_optional_params[sqlite-default]"
|
||||
"test_optional_params[sqlite-limit-offset]")
|
||||
" and not "))
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-tests
|
||||
|
||||
Reference in New Issue
Block a user