-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make test not working #318
Comments
Looks like you are using python 2, please try python 3 instead. |
if new_retry.is_exhausted():
E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /api/v0/users (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2f64d04c0>: Failed to establish a new connection: [Errno 111] Connection refused')) /usr/lib/python3/dist-packages/urllib3/util/retry.py:436: MaxRetryError During handling of the above exception, another exception occurred:
e2e/conftest.py:26: /usr/lib/python3/dist-packages/requests/api.py:116: in post self = <requests.adapters.HTTPAdapter object at 0x7fa2f66c5e50>
E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /api/v0/users (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2f64d04c0>: Failed to establish a new connection: [Errno 111] Connection refused')) /usr/lib/python3/dist-packages/requests/adapters.py:516: ConnectionError self = <urllib3.connection.HTTPConnection object at 0x7fa2f64d04c0>
/usr/lib/python3/dist-packages/urllib3/connection.py:159: address = ('localhost', 8080), timeout = None, source_address = None
/usr/lib/python3/dist-packages/urllib3/util/connection.py:84: address = ('localhost', 8080), timeout = None, source_address = None
|
platform linux2 -- Python 2.7.16, pytest-4.6.10, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python
cachedir: .pytest_cache
rootdir: /home/vcacadmin/oncall-master
plugins: mock-2.0.0
collected 11 items / 1 errors / 10 selected
========================================================================================================================================== ERRORS ===========================================================================================================================================
____________________________________________________________________________________________________________________________ ERROR collecting test/test_auth.py _____________________________________________________________________________________________________________________________
ImportError while importing test module '/home/vcacadmin/oncall-master/test/test_auth.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
test/test_auth.py:2: in
from oncall.app import ReqBodyMiddleware
src/oncall/app.py:3: in
from urllib.parse import unquote_plus
E ImportError: No module named parse
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================================================================== 1 error in 0.37 seconds ==================================================================================================================================
make[1]: *** [Makefile:7: unit] Error 2
make[1]: Leaving directory '/home/vcacadmin/oncall-master'
make: *** [Makefile:13: test] Error 2
vcacadmin@caoncall:~/oncall-master$
The text was updated successfully, but these errors were encountered: