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