def testGetFileByPathWithTree(self): project = XcodeProject(self.obj) files = project.get_files_by_path('file', TreeType.SDKROOT) self.assertEqual(files.__len__(), 1)
def testGetFileByPathWithNoTree(self): project = XcodeProject(self.obj) files = project.get_files_by_path('file') self.assertEqual(files.__len__(), 2)