8000 tests: review changes · nginx-proxy/nginx-proxy@aa8145b · GitHub
[go: up one dir, main page]

Skip to content

Commit aa8145b

Browse files
buchdagSchoNie
andcommitted
tests: review changes
Co-authored-by: Niek <100143256+SchoNie@users.noreply.github.com>
1 parent 836012c commit aa8145b

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

test/test_fallback/test_fallback.data/custom-fallback.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
nginx-proxy:
33
volumes:
44
- /var/run/docker.sock:/tmp/docker.sock:ro
5-
- ./custom-fallback.conf:/etc/nginx/conf.d/zzz-custom-fallback.conf:ro
5+
- ${PYTEST_MODULE_PATH}/test_fallback.data/custom-fallback.conf:/etc/nginx/conf.d/zzz-custom-fallback.conf:ro
66

77
http-only:
88
image: web

test/test_fallback/test_fallback.data/nodefault.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
nginx-proxy:
33
volumes:
44
- /var/run/docker.sock:/tmp/docker.sock:ro
5-
- ./nodefault.certs:/etc/nginx/certs:ro
5+
- ${PYTEST_MODULE_PATH}/test_fallback.data/nodefault.certs:/etc/nginx/certs:ro
66

77
https-and-http:
88
image: web

test/test_fallback/test_fallback.data/nohttp-on-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
nginx-proxy:
33
volumes:
44
- /var/run/docker.sock:/tmp/docker.sock:ro
5-
- ./withdefault.certs:/etc/nginx/certs:ro
5+
- ${PYTEST_MODULE_PATH}/test_fallback.data/withdefault.certs:/etc/nginx/certs:ro
66
environment:
77
HTTPS_METHOD: redirect
88

test/test_fallback/test_fallback.data/nohttp-with-missing-cert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
nginx-proxy:
33
volumes:
44
- /var/run/docker.sock:/tmp/docker.sock:ro
5-
- ./withdefault.certs:/etc/nginx/certs:ro
5+
- ${PYTEST_MODULE_PATH}/test_fallback.data/withdefault.certs:/etc/nginx/certs:ro
66
environment:
77
HTTPS_METHOD: nohttp
88

test/test_fallback/test_fallback.data/nohttp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
nginx-proxy:
33
volumes:
44
- /var/run/docker.sock:/tmp/docker.sock:ro
5-
- ./withdefault.certs:/etc/nginx/certs:ro
5+
- ${PYTEST_MODULE_PATH}/test_fallback.data/withdefault.certs:/etc/nginx/certs:ro
66
environment:
77
HTTPS_METHOD: nohttp
88

test/test_fallback/test_fallback.data/untrusteddefault.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
nginx-proxy:
33
volumes:
44
- /var/run/docker.sock:/tmp/docker.sock:ro
5-
- ./withdefault.certs:/etc/nginx/certs:ro
5+
- ${PYTEST_MODULE_PATH}/test_fallback.data/withdefault.certs:/etc/nginx/certs:ro
66
environment:
77
TRUST_DEFAULT_CERT: "false"
88

test/test_fallback/test_fallback.data/withdefault.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
nginx-proxy:
33
volumes:
44
- /var/run/docker.sock:/tmp/docker.sock:ro
5-
- ./withdefault.certs:/etc/nginx/certs:ro
5+
- ${PYTEST_MODULE_PATH}/test_fallback.data/withdefault.certs:/etc/nginx/certs:ro
66

77
https-and-http:
88
image: web

test/test_ipv6/test_ipv6.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
pytestmark = pytest.mark.skipif(
66
platform.system() == "Darwin",
7-
reason="Those tests rely entirely on being able to directly contact container's IP"
7+
reason="Those tests rely entirely on being able to directly contact the container's IP"
88
)
99

1010

test/test_nominal/test_nominal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_forwards_to_web2(docker_compose, nginxproxy):
2323

2424
@pytest.mark.skipif(
2525
platform.system() == "Darwin",
26-
reason="This test rely on being able to directly contact the container's IP"
26+
reason="This test depends on direct communication with the container's IP"
2727
)
2828
def test_ipv6_is_disabled_by_default(docker_compose, nginxproxy):
2929
with pytest.raises(ConnectionError):

0 commit comments

Comments
 (0)
0