def test_get_required_parameter_definitions_yaml(self): # noqa pylint: disable=invalid-name """Verify get_required_param... method with yaml raw template.""" blueprint = RawTemplateBlueprint( name="test", context=MagicMock(), raw_template_path=RAW_YAML_TEMPLATE_PATH) self.assertEqual(blueprint.get_required_parameter_definitions(), {"Param1": { "Type": "String" }})
def test_get_required_parameter_definitions_json(self, ): """Verify get_required_param... method with json raw template.""" blueprint = RawTemplateBlueprint( name="test", context=MagicMock(), raw_template_path=RAW_JSON_TEMPLATE_PATH) self.assertEqual( blueprint.get_required_parameter_definitions(), {"Param1": { "Type": "String" }}, )