""" test that the pxe_nodes.json and ansible template is valid JSON """

import json

with open('/var/www/provision/nodes/pxe_nodes.json') as json_file:
    DATA = json.load(json_file)
    # If we can't load it it's not valid according to the python json library
    # For example is a comma is missing somewhere python will giev a ValueError when loading it

ce64c7e925eff7c95211b836c0c277e8bd2866af
<mask token>

<mask token>
with open('/var/www/provision/nodes/pxe_nodes.json') as json_file:
    DATA = json.load(json_file)

<mask token>
import json
with open('/var/www/provision/nodes/pxe_nodes.json') as json_file:
    DATA = json.load(json_file)

""" test that the pxe_nodes.json and ansible template is valid JSON """

import json

with open('/var/www/provision/nodes/pxe_nodes.json') as json_file:
    DATA = json.load(json_file)
    # If we can't load it it's not valid according to the python json library
    # For example is a comma is missing somewhere python will giev a ValueError when loading it
