From 1b89f39432cdb395f5fbb9553b56595d29e2b773 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 23 Oct 2009 16:39:02 +0200 Subject: commit.name_rev property added for convenience --- test/git/test_commit.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/git/test_commit.py') diff --git a/test/git/test_commit.py b/test/git/test_commit.py index c4ed4b72..251387bd 100644 --- a/test/git/test_commit.py +++ b/test/git/test_commit.py @@ -94,3 +94,7 @@ class TestCommit(TestBase): assert first_parent == c.parents[0] # END for each + def test_base(self): + name_rev = self.rorepo.head.commit.name_rev + assert isinstance(name_rev, basestring) + -- cgit v1.2.1