Browse files

Too late to be writing tests.

  • Loading branch information...
1 parent 208e9f9 commit 3dd0fa35ea940a96fc53e39c3b175977481d38eb @sigmavirus24 committed Oct 6, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/test_repos.py
View
6 tests/test_repos.py
@@ -585,10 +585,10 @@ def test_create_tag(self):
tagger = {'name': 'github3.py', 'email': 'github3.py@librelist.com',
'date': '2012-06-07T20:00:00-05:00'}
r = self._g.repository('sigmavirus24', 'github3.py_test')
- tag = r.create_tag(tag, msg, sha, obj_type, tagger)
- expect(tag).isinstance(Tag)
+ t = r.create_tag(tag, msg, sha, obj_type, tagger)
+ expect(t).isinstance(Tag)
r.ref('tags/{0}'.format(tag)).delete()
- tag = r.create_tag(tag, msg, sha, obj_type, tagger, True)
+ t = r.create_tag(tag, msg, sha, obj_type, tagger, True)
r.ref('tags/{0}'.format(tag)).delete()
def test_edit(self):

0 comments on commit 3dd0fa3

Please sign in to comment.