guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ea2bde60ede6f9b1d547b37428dac07fe22d88a8
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Oct 11 21:22:55 2025 +0100
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
---
gnu/packages/python-web.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
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