From ea2bde60ede6f9b1d547b37428dac07fe22d88a8 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 11 Oct 2025 21:22:55 +0100 Subject: [PATCH] gnu: python-fastapi-pagination: Fix tests. * gnu/packages/python-web.scm (python-fastapi-pagination)[arguments] : 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