Exemplo n.º 1
0
 def test_get_peeled(self):
     refs = InfoRefsContainer(StringIO(_TEST_REFS_SERIALIZED))
     # refs/heads/loop does not show up even if it exists
     self.assertEqual(_TEST_REFS['refs/heads/master'],
                      refs.get_peeled('refs/heads/master'))
Exemplo n.º 2
0
 def test_get_peeled(self):
     refs = InfoRefsContainer(StringIO(_TEST_REFS_SERIALIZED))
     # refs/heads/loop does not show up even if it exists
     self.assertEqual(
         _TEST_REFS['refs/heads/master'],
         refs.get_peeled('refs/heads/master'))