fix (test): test_location-per-vpath

Update testcase to changes from #1572
This commit is contained in:
Alexander Lieret 2021-04-29 13:08:26 +02:00
parent 0ee6bc17fe
commit 399644d63a
No known key found for this signature in database
GPG key ID: F595A2E96992CF30

View file

@ -19,4 +19,4 @@ def test_custom_conf_does_not_apply_to_path2(docker_compose, nginxproxy):
assert "X-test" not in r.headers
def test_custom_block_is_present_in_nginx_generated_conf(docker_compose, nginxproxy):
assert "include /etc/nginx/vhost.d/nginx-proxy.local_faeee25c67f4f2196a5cf9c7b87b970ed63140de_location;" in nginxproxy.get_conf()
assert b"include /etc/nginx/vhost.d/nginx-proxy.local_faeee25c67f4f2196a5cf9c7b87b970ed63140de_location;" in nginxproxy.get_conf()