From 8995ba02ba1a10e1887d5ca21858aae4cfdc9ab1 Mon Sep 17 00:00:00 2001 From: Steve Kamerman Date: Wed, 1 Feb 2017 07:40:58 +0000 Subject: [PATCH] Fixed assertion bug --- test2/test_ssl/test_nohttps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test2/test_ssl/test_nohttps.py b/test2/test_ssl/test_nohttps.py index 025ac28..558798c 100644 --- a/test2/test_ssl/test_nohttps.py +++ b/test2/test_ssl/test_nohttps.py @@ -10,4 +10,5 @@ def test_http_is_forwarded(docker_compose, nginxproxy): def test_https_is_disabled(docker_compose, nginxproxy): with pytest.raises(ConnectionError) as excinfo: r = nginxproxy.get("https://web.nginx-proxy.tld/", allow_redirects=False) - assert "[Errno 93] Protocol not supportedd" in excinfo.value + + assert "[Errno 93] Protocol not supported" in excinfo.value