diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-11 21:22:55 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-11 21:29:51 +0100 |
commit | ea2bde60ede6f9b1d547b37428dac07fe22d88a8 (patch) | |
tree | b5e82329cc727d66edec5aa5b689e87d7eeeaa11 | |
parent | 6b02b5a8068f536544a4b5de19c2efebf89872e9 (diff) |
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
-rw-r--r-- | gnu/packages/python-web.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ee94794b3e..fea2ee66db 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -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 |