diff options
author | Orestis Markou <orestis@orestis.gr> | 2011-05-01 14:33:41 +0300 |
---|---|---|
committer | Orestis Markou <orestis@orestis.gr> | 2011-05-01 14:33:41 +0300 |
commit | e7fa5ef735754e640bd6be6c0a77088009058d74 (patch) | |
tree | 55aca6991ce1507eb5ce7db49582693b797f9a80 /git/test/test_refs.py | |
parent | a98e0af511b728030c12bf8633b077866bb74e47 (diff) | |
download | gitpython-e7fa5ef735754e640bd6be6c0a77088009058d74.tar.gz |
added test & fix for mangled tagger names
Diffstat (limited to 'git/test/test_refs.py')
-rw-r--r-- | git/test/test_refs.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/git/test/test_refs.py b/git/test/test_refs.py index 2338b4e4..f0473871 100644 --- a/git/test/test_refs.py +++ b/git/test/test_refs.py @@ -49,6 +49,16 @@ class TestRefs(TestBase): # END for tag in repo-tags assert tag_object_refs assert isinstance(self.rorepo.tags['0.1.5'], TagReference) + + + def test_tags_author(self): + tag = self.rorepo.tags[0] + tagobj = tag.tag + assert isinstance( tagobj.tagger, Actor ) + tagger_name = tagobj.tagger.name + assert tagger_name == 'Michael Trier' + + def test_tags(self): # tag refs can point to tag objects or to commits |