mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2025-08-19 10:24:47 +02:00
11 lines
255 B
Python
11 lines
255 B
Python
import re
|
|
import time
|
|
|
|
|
|
def test_default_root_none(docker_compose, nginxproxy):
|
|
time.sleep(3)
|
|
conf = nginxproxy.get_conf().decode()
|
|
assert re.search(r"(?m)^\s*location\s+/path\s+\{", conf)
|
|
assert not re.search(r"(?m)^\s*location\s+/\s+\{", conf)
|
|
|