1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-02-24 09:48:14 +00:00

Merge pull request #2237 from nginx-proxy/dependabot/pip/test/requirements/requests-2.30.0

ci: bump requests from 2.29.0 to 2.30.0 in /test/requirements
This commit is contained in:
Nicolas Duchon 2023-05-08 21:30:46 +02:00 committed by GitHub
commit 9ff197d721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,4 @@ backoff==2.2.1
docker-compose==1.29.2
docker==6.1.1
pytest==7.3.1
requests==2.29.0
requests==2.30.0

View File

@ -27,7 +27,7 @@ def test_https_get_served(docker_compose, nginxproxy, subdomain):
def test_https_request_to_nohttps_vhost_goes_to_fallback_server(docker_compose, nginxproxy):
with pytest.raises( (CertificateError, SSLError) ) as excinfo:
nginxproxy.get("https://3.web.nginx-proxy.tld/port")
assert """hostname '3.web.nginx-proxy.tld' doesn't match 'nginx-proxy.tld'""" in str(excinfo.value)
assert """certificate is not valid for '3.web.nginx-proxy.tld'""" in str(excinfo.value)
r = nginxproxy.get("https://3.web.nginx-proxy.tld/port", verify=False)
assert r.status_code == 503