diff options
Diffstat (limited to 'test/git/test_refs.py')
-rw-r--r-- | test/git/test_refs.py | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/test/git/test_refs.py b/test/git/test_refs.py index f7f4f71a..6b3c2840 100644 --- a/test/git/test_refs.py +++ b/test/git/test_refs.py @@ -32,15 +32,6 @@ class TestRefs(TestBase): assert tag_object_refs assert isinstance(self.rorepo.tags['0.1.5'], TagReference) - @patch_object(Git, '_call_process') - def test_ref_with_path_component(self, git): - git.return_value = fixture('for_each_ref_with_path_component') - head = self.rorepo.heads[0] - - assert_equal('refactoring/feature1', head.name) - assert_true(git.called) - - def test_tags(self): # tag refs can point to tag objects or to commits s = set() @@ -220,3 +211,8 @@ class TestRefs(TestBase): assert not cur_head.is_detached assert head.commit == parent_commit + # test ref listing - assure we have packed refs + rw_repo.git.pack_refs(all=True) + assert rw_repo.heads + assert rw_repo.tags + |