2
0

test_default-root-none.py 227 B

12345678
  1. import re
  2. def test_default_root_none(docker_compose, nginxproxy):
  3. conf = nginxproxy.get_conf().decode()
  4. assert re.search(r"(?m)^\s*location\s+/path\s+\{", conf)
  5. assert not re.search(r"(?m)^\s*location\s+/\s+\{", conf)