1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-02 06:45:45 +00:00

tests: predictable upstream names

This commit is contained in:
Nicolas Duchon
2021-08-17 21:34:50 +02:00
parent ded3cfc168
commit d10531e925
4 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,7 @@
import pytest
import re
def test_predictable_upstream_is_present_in_nginx_generated_conf(docker_compose, nginxproxy):
conf = nginxproxy.get_conf().decode('ASCII')
assert re.search(r"upstream web\.nginx-proxy\.tld \{", conf)