Merge "Adding an empty template test for simple_parse()"

This commit is contained in:
Jenkins 2015-06-19 20:21:17 +00:00 committed by Gerrit Code Review
commit d5384a681e

View File

@ -62,6 +62,11 @@ class DataTypeTest(TestCase):
'''
custom_type_def = yamlparser.simple_parse(custom_type_schema)
def test_empty_template(self):
value_snippet = ''
value = yamlparser.simple_parse(value_snippet)
self.assertEqual(value, {})
def test_built_in_datatype(self):
value_snippet = '''
private_network: