From 445a0eedc5b07942b89e17e2b5f3d2c4876d79c1 Mon Sep 17 00:00:00 2001 From: Nicolas KAROLAK <nicolas@karolak.fr> Date: Mon, 1 Oct 2018 14:21:11 +0200 Subject: [PATCH] fix(tests): ignore default_server nginx vhost --- tests/test_nginx_vhosts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_nginx_vhosts.py b/tests/test_nginx_vhosts.py index f1b9937f..f9a25a87 100755 --- a/tests/test_nginx_vhosts.py +++ b/tests/test_nginx_vhosts.py @@ -52,7 +52,6 @@ if os.path.exists('/etc/celerity/config.py'): # get enabled vhosts resolution_ignored = conf.get('TESTER_VHOST_RESOLUTION_IGNORED', '').split(',') -resolution_ignored.append('default_server') found = False errors = 0 warnings = 0 @@ -74,6 +73,8 @@ for name in names: for domain in domains: if domain == 'localhost': continue # status vhost + if domain == 'default_server': + continue found = True url = '%s://%s' % ('https' if https else 'http', domain) sys.stdout.write('Testing url "%s":\n' % url) -- GitLab