mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2025-02-05 05:41:39 +01:00
b5dea1cf50
- remove unused imports in test cases - fix code smells and code style in conftest.py
8 lines
234 B
Python
8 lines
234 B
Python
import re
|
|
|
|
|
|
def test_custom_error_page(docker_compose, nginxproxy):
|
|
r = nginxproxy.get("http://unknown.nginx-proxy.tld")
|
|
assert r.status_code == 503
|
|
assert re.search(r"Damn, there's some maintenance in progress.", r.text)
|