summaryrefslogtreecommitdiff
path: root/git/test/test_reflog.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/test_reflog.py')
-rw-r--r--git/test/test_reflog.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/git/test/test_reflog.py b/git/test/test_reflog.py
index 3fdf1fae..0fc1f1ae 100644
--- a/git/test/test_reflog.py
+++ b/git/test/test_reflog.py
@@ -34,9 +34,7 @@ class TestRefLog(TestBase):
tdir = tempfile.mktemp(suffix="test_reflogs")
os.mkdir(tdir)
- # verify we have a ref - with the creation of a new ref, the reflog
- # will be created as well
- rlp_master_ro = RefLog.path(self.rorepo.heads.master)
+ rlp_master_ro = RefLog.path(self.rorepo.head)
assert os.path.isfile(rlp_master_ro)
# simple read