summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/python-web.scm25
1 files changed, 10 insertions, 15 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bd09867bb8..8c23726a5f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1964,7 +1964,10 @@ Model} (SAM) templates into AWS CloudFormation templates.")
(list
#:test-flags
'(list ;; Tries to connect to external network resources
+ "--ignore=tests/ext/aiohttp/test_client.py"
+ "--ignore=tests/ext/httplib/test_httplib.py"
"--ignore=tests/ext/httpx"
+ "--ignore=tests/ext/requests/test_requests.py"
;; TODO: How to configure Django for these tests?
"--ignore=tests/ext/django"
;; These tests require packages not yet in Guix.
@@ -1982,11 +1985,7 @@ Model} (SAM) templates into AWS CloudFormation templates.")
"--ignore=tests/ext/flask_sqlalchemy/test_query.py"
;; FIXME: Why is this failing?
"--ignore=tests/test_patcher.py"
- "--ignore=tests/test_lambda_context.py"
- ;; These tests want to access httpbin.org.
- "--ignore=tests/ext/requests/test_requests.py"
- "--ignore=tests/ext/httplib/test_httplib.py"
- "--ignore=tests/ext/aiohttp/test_client.py")
+ "--ignore=tests/test_lambda_context.py")
#:phases
'(modify-phases %standard-phases
(add-before 'check 'pre-check
@@ -1995,6 +1994,7 @@ Model} (SAM) templates into AWS CloudFormation templates.")
(setenv "PYTHONPATH" (getcwd)))))))
(native-inputs
(list ;; These are required for the test suite.
+ python-aiohttp
python-bottle
python-flask
python-flask-sqlalchemy
@@ -2002,20 +2002,15 @@ Model} (SAM) templates into AWS CloudFormation templates.")
python-mock
python-pymysql
python-pytest
- python-pytest-aiohttp
- python-pytest-asyncio
+ python-pytest-asyncio-0.26
python-pytest-benchmark
- python-requests
- python-sqlalchemy
- python-webtest
python-setuptools
- python-wheel))
+ python-sqlalchemy
+ python-webtest))
(propagated-inputs
- (list python-aiohttp
- python-botocore
- python-future
+ (list python-botocore
python-jsonpickle
- python-urllib3
+ python-requests
python-wrapt))
(synopsis "Profile applications on AWS X-Ray")
(description