mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 09:48:14 +00:00
9 lines
248 B
Python
9 lines
248 B
Python
|
import pytest
|
||
|
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)
|