def test_is_metadata_symlink(self): self.assertTrue(is_metadata_symlink(".git-parents/commit", ["commit"])) self.assertFalse( is_metadata_symlink(".git-parents/commit", ["anothercommit"]))
def _is_metadata_symlink(self): return utils.is_metadata_symlink(self.path_data['commit_path'], self.oper.all_commits())