mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-22 11:56:31 +00:00
Fixed assertion bug
This commit is contained in:
parent
d0e5870060
commit
8995ba02ba
@ -10,4 +10,5 @@ def test_http_is_forwarded(docker_compose, nginxproxy):
|
|||||||
def test_https_is_disabled(docker_compose, nginxproxy):
|
def test_https_is_disabled(docker_compose, nginxproxy):
|
||||||
with pytest.raises(ConnectionError) as excinfo:
|
with pytest.raises(ConnectionError) as excinfo:
|
||||||
r = nginxproxy.get("https://web.nginx-proxy.tld/", allow_redirects=False)
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user