mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2025-02-05 05:41:39 +01:00
9 lines
227 B
Python
9 lines
227 B
Python
import re
|
|
|
|
|
|
def test_default_root_none(docker_compose, nginxproxy):
|
|
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)
|
|
|