Skip to content
Snippets Groups Projects
Commit bf6a14a5 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "linters: Mock additional variables in validate-all-file.py"

parents 1f5a3a28 1da71580
No related branches found
No related tags found
No related merge requests found
......@@ -123,8 +123,11 @@ def check_json_j2():
context = {
'hostvars': hostvars(),
'groups': groups(),
'inventory_hostname': 'hostname',
'api_interface_address': '',
'kolla_internal_fqdn': '',
'octavia_provider_drivers': '',
'storage_interface': 'storage_interface',
'inventory_hostname': 'hostname'
}
data = template.render(**context)
json.loads(data)
......
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