summaryrefslogtreecommitdiff
path: root/test/test_refs.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-24 22:53:24 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-24 22:53:24 +0100
commitcf1d5bd4208514bab3e6ee523a70dff8176c8c80 (patch)
treed68f6529275838b9a962c4b76533e8445441af34 /test/test_refs.py
parent3175b5b21194bcc8f4448abe0a03a98d3a4a1360 (diff)
parent7da101ba9a09a22a85c314a8909fd23468ae66f0 (diff)
downloadgitpython-cf1d5bd4208514bab3e6ee523a70dff8176c8c80.tar.gz
Merge branch 'reflogintegration'
Diffstat (limited to 'test/test_refs.py')
-rw-r--r--test/test_refs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_refs.py b/test/test_refs.py
index 52937de1..2338b4e4 100644
--- a/test/test_refs.py
+++ b/test/test_refs.py
@@ -149,6 +149,9 @@ class TestRefs(TestBase):
assert self.rorepo.head.reference.is_valid()
assert SymbolicReference(self.rorepo, 'hellothere').is_valid() == False
+ def test_orig_head(self):
+ assert type(self.rorepo.head.orig_head()) == SymbolicReference
+
@with_rw_repo('0.1.6')
def test_head_reset(self, rw_repo):
cur_head = rw_repo.head