def test_add_comments_to_configuration_sequence_of_maps_without_description_does_not_raise( ): config = module.yaml.comments.CommentedSeq( [module.yaml.comments.CommentedMap([('foo', 'yo')])]) schema = {'seq': [{'map': {'foo': {}}}]} module.add_comments_to_configuration_sequence(config, schema)
def test_add_comments_to_configuration_sequence_of_strings_does_not_raise(): config = module.yaml.comments.CommentedSeq(['foo', 'bar']) schema = {'seq': [{'type': 'str'}]} module.add_comments_to_configuration_sequence(config, schema)