summaryrefslogtreecommitdiff
path: root/test/git/test_repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/git/test_repo.py')
-rw-r--r--test/git/test_repo.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/git/test_repo.py b/test/git/test_repo.py
index 250974a5..e0bda1c5 100644
--- a/test/git/test_repo.py
+++ b/test/git/test_repo.py
@@ -199,6 +199,9 @@ class TestRepo(object):
assert_equal(self.repo.active_branch.name, 'major-refactoring')
assert_equal(git.call_args, (('symbolic_ref', 'HEAD'), {}))
+ def test_head(self):
+ assert self.repo.head.object == self.repo.active_branch.object
+
@patch_object(Git, '_call_process')
def test_should_display_blame_information(self, git):
git.return_value = fixture('blame')