gnu: python-flask-restx: Skip networking dependent test.

* gnu/packages/python-web.scm (python-flask-restx)
[phases]{check}: Skip the 'test_redirect' test.
This commit is contained in:
Maxim Cournoyer 2022-06-06 16:11:50 -04:00
parent 53a0e405ff
commit 8df6117b78
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -5869,8 +5869,10 @@ (define-public python-flask-restx
(lambda _
(invoke "pytest" "--benchmark-skip" "-k"
;; Those tests need internet access
"not test_check and not test_valid_value_check \
and not test_override_app_level"))))))
(string-join
'("not test_check and not test_valid_value_check \
and not test_override_app_level"
"not test_redirect") " and ")))))))
(home-page "https://github.com/python-restx/flask-restx")
(synopsis
"Framework for fast, easy and documented API development with Flask")