def testAddGroupToParent(self): project = XcodeProject(self.obj) group = project.add_group("my_group", parent=project.objects['1']) self.assertTrue(project.objects['1'].has_child(group))
def testAddGroupNoParent(self): project = XcodeProject(self.obj) group = project.add_group('my_group') self.assertTrue(project.objects['root'].has_child(group))