def test_key_exists_invalid_2(): arm = ArmFile('tests/test_template.json') assert arm.key_exists('parameters.bad') == False
def test_key_exists_invalid_1(): arm = ArmFile('tests/test_template.json') assert arm.key_exists('bad') == False
def test_key_exists_valid_1(): arm = ArmFile('tests/test_template.json') assert arm.key_exists('parameters') == True
def test_key_exists_valid_3(): arm = ArmFile('tests/test_template.json') assert arm.key_exists('parameters.storageAccountType.defaultValue') == True
def test_key_exists_null(): arm = ArmFile('tests/test_template.json') assert arm.key_exists('') == False