def test_parse_state(self, *args): obj = TerraformParser('somefile', parse_it=False) obj.raw['variables'] = True obj.file_type = 'state' obj.parse() self.assertEqual(obj.variables, None)
def test_parse_plan(self, *args): obj = TerraformParser('somefile', parse_it=False) obj.raw['variables'] = True obj.parse() self.assertEqual(obj.variables, True)