diff options
Diffstat (limited to 'test/git/test_head.py')
-rw-r--r-- | test/git/test_head.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/git/test_head.py b/test/git/test_head.py index e3408974..ab310276 100644 --- a/test/git/test_head.py +++ b/test/git/test_head.py @@ -1,5 +1,5 @@ # test_head.py -# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors +# Copyright (C) 2008-2010 Michael Trier (mtrier@gmail.com) and contributors # # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php @@ -14,11 +14,11 @@ class TestHead(object): @patch_object(Git, '_call_process') def test_repr(self, git): git.return_value = fixture('for_each_ref') - + head = self.repo.heads[0] - + assert_equal('<git.Head "%s">' % head.name, repr(head)) - + assert_true(git.called) assert_equal(git.call_args, (('for_each_ref', 'refs/heads'), {'sort': 'committerdate', 'format': '%(refname)%00%(objectname)'})) |