diff --git a/test/test_custom/test_location-per-vpath.py b/test/test_custom/test_location-per-vpath.py index 48c93c7..872ebfc 100644 --- a/test/test_custom/test_location-per-vpath.py +++ b/test/test_custom/test_location-per-vpath.py @@ -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()