Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are no longer named marker attributes: pytest-dev/pytest#891 This results in not expecting param `ssl` and leads to errors like: ``` ... test/test_dugong.py::test_http_proxy[plain-None] PASSED [ 4%] test/test_dugong.py::test_http_proxy[plain-8080] PASSED [ 5%] test/test_dugong.py::test_connect_proxy[plain-None] PASSED [ 6%] test/test_dugong.py::test_connect_proxy[plain-8080] PASSED [ 7%] ... test/test_dugong.py::test_http_proxy[ssl-None] FAILED [ 51%] test/test_dugong.py::test_http_proxy[ssl-8080] FAILED [ 52%] test/test_dugong.py::test_connect_proxy[ssl-None] FAILED [ 53%] test/test_dugong.py::test_connect_proxy[ssl-8080] FAILED [ 54%] ... So, the marker `no_ssl` is just ignored. Let's use the `get_closest_marker` method instead. Signed-off-by: Stanislav Levin <slev@altlinux.org>
- Loading branch information