1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-01 14:25:46 +00:00

tests: fixture type hints and style standardization

This commit is contained in:
Nicolas Duchon
2024-12-27 21:36:07 +01:00
parent ea99c1a6f9
commit ae0c9a8e96
3 changed files with 12 additions and 12 deletions

View File

@ -23,7 +23,7 @@ def test_invalid_path(docker_compose, nginxproxy, stub):
r = nginxproxy.get(f"http://{stub}/port")
assert r.status_code in [404, 503]
@pytest.fixture()
@pytest.fixture
def web4(docker_compose):
"""
pytest fixture creating a web container with `VIRTUAL_HOST=nginx-proxy.test`, `VIRTUAL_PATH=/web4/` and `VIRTUAL_DEST=/` listening on port 84.