mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-08-24 00:11:55 +00:00
tests: cleanup test code
- remove unused imports in test cases - fix code smells and code style in conftest.py
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
import pytest
|
||||
import requests
|
||||
|
||||
|
||||
def test_web2_http_is_connection_refused(docker_compose, nginxproxy):
|
||||
r = nginxproxy.get("http://web2.nginx-proxy.tld/", allow_redirects=False)
|
||||
assert r.status_code == 503
|
||||
|
Reference in New Issue
Block a user