'Test the utils.add_parents() function.'

def test_add_parents(self):

    paths = set([u'foo///bar///baz'])
    path_set = utils.add_parents(paths)
    self.assertTrue((u'foo/bar/baz' in path_set))
    self.assertTrue((u'foo/bar' in path_set))
    self.assertTrue((u'foo' in path_set))
    self.assertFalse((u'foo///bar///baz' in path_set))
    expect = set([u'foo///bar///baz'])
    self.assertEqual(expect, paths)
