mirror of
https://github.com/thib8956/nginx-proxy
synced 2026-11-16 17:27:31 +00:00
tests: fixture type hints and style standardization
This commit is contained in:
1 parent
ea99c1a6f9
commit
ae0c9a8e96
3 files changed
+12
-12
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user