[Bug 2053267] Re: Run test-suite as part of autopkgtest
Olivier Gayot
2053267 at bugs.launchpad.net
Thu Feb 15 19:22:57 UTC 2024
Excerpt of autopkgtest output when the test-suite passes:
autopkgtest [20:19:58]: test python3-requests-unixsocket: [-----------------------
=== python3.12 ===
============================= test session starts ==============================
platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.3.0 -- /usr/bin/python3.12
cachedir: .pytest_cache
rootdir: /tmp/autopkgtest.CFCMKH/autopkgtest_tmp
collecting ... collected 5 items
tests/test_requests_unixsocket.py::test_unix_domain_adapter_ok PASSED [ 20%]
tests/test_requests_unixsocket.py::test_unix_domain_adapter_url_with_query_params PASSED [ 40%]
tests/test_requests_unixsocket.py::test_unix_domain_adapter_connection_error PASSED [ 60%]
tests/test_requests_unixsocket.py::test_unix_domain_adapter_connection_proxies_error PASSED [ 80%]
tests/test_requests_unixsocket.py::test_unix_domain_adapter_monkeypatch PASSED [100%]
============================== 5 passed in 0.12s ===============================
=== python3.11 ===
============================= test session starts ==============================
platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.3.0 -- /usr/bin/python3.11
cachedir: .pytest_cache
rootdir: /tmp/autopkgtest.CFCMKH/autopkgtest_tmp
collecting ... collected 5 items
tests/test_requests_unixsocket.py::test_unix_domain_adapter_ok PASSED [ 20%]
tests/test_requests_unixsocket.py::test_unix_domain_adapter_url_with_query_params PASSED [ 40%]
tests/test_requests_unixsocket.py::test_unix_domain_adapter_connection_error PASSED [ 60%]
tests/test_requests_unixsocket.py::test_unix_domain_adapter_connection_proxies_error PASSED [ 80%]
tests/test_requests_unixsocket.py::test_unix_domain_adapter_monkeypatch PASSED [100%]
============================== 5 passed in 0.11s ===============================
autopkgtest [20:20:01]: test python3-requests-unixsocket: -----------------------]
autopkgtest [20:20:01]: test python3-requests-unixsocket: - - - - - - - - - - results - - - - - - - - - -
python3-requests-unixsocket PASS
autopkgtest [20:20:01]: @@@@@@@@@@@@@@@@@@@@ summary
python3-requests-unixsocket PASS
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-requests-unixsocket in Ubuntu.
https://bugs.launchpad.net/bugs/2053267
Title:
Run test-suite as part of autopkgtest
Status in python-requests-unixsocket package in Ubuntu:
New
Bug description:
python-requests-unixsocket does not declare any autopkgtest. autodep8
detects that it is a python package and therefore runs
autodep8-python3 which does the following:
```python3
import requests_unixsocket
print(requests_unixsocket)
```
This is better than nothing but running the actual test-suite would be
much better. This could have prevented bugs like
https://bugs.launchpad.net/ubuntu/+source/python-requests-
unixsocket/+bug/2053016 by blocking urllib3 / src:requests migration.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-requests-unixsocket/+bug/2053267/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list