Skip to content
Snippets Groups Projects
Commit 445a0eed authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

fix(tests): ignore default_server nginx vhost

parent 0172695f
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,6 @@ if os.path.exists('/etc/celerity/config.py'): ...@@ -52,7 +52,6 @@ if os.path.exists('/etc/celerity/config.py'):
# get enabled vhosts # get enabled vhosts
resolution_ignored = conf.get('TESTER_VHOST_RESOLUTION_IGNORED', '').split(',') resolution_ignored = conf.get('TESTER_VHOST_RESOLUTION_IGNORED', '').split(',')
resolution_ignored.append('default_server')
found = False found = False
errors = 0 errors = 0
warnings = 0 warnings = 0
...@@ -74,6 +73,8 @@ for name in names: ...@@ -74,6 +73,8 @@ for name in names:
for domain in domains: for domain in domains:
if domain == 'localhost': if domain == 'localhost':
continue # status vhost continue # status vhost
if domain == 'default_server':
continue
found = True found = True
url = '%s://%s' % ('https' if https else 'http', domain) url = '%s://%s' % ('https' if https else 'http', domain)
sys.stdout.write('Testing url "%s":\n' % url) sys.stdout.write('Testing url "%s":\n' % url)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment