Răsfoiți Sursa

Fixed assertion bug

Steve Kamerman 8 ani în urmă
părinte
comite
8995ba02ba
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      test2/test_ssl/test_nohttps.py

+ 2 - 1
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