mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2025-08-20 20:44:37 +02:00
10 lines
264 B
Python
10 lines
264 B
Python
import pytest
|
|
import re
|
|
import time
|
|
|
|
|
|
def test_predictable_upstream_is_present_in_nginx_generated_conf(docker_compose, nginxproxy):
|
|
time.sleep(3)
|
|
conf = nginxproxy.get_conf().decode('ASCII')
|
|
assert re.search(r"upstream web\.nginx-proxy\.tld \{", conf)
|