From e3e2c8c14b861b4d4865a9574e812ef9f2609771 Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Wed, 3 Mar 2010 23:46:23 -0500 Subject: Corrected a bunch of whitespace that makes some folks crazy. Added Sebastian to the AUTHORS file. --- test/git/test_tag.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/git/test_tag.py') diff --git a/test/git/test_tag.py b/test/git/test_tag.py index 732bbd45..3df617ce 100644 --- a/test/git/test_tag.py +++ b/test/git/test_tag.py @@ -1,5 +1,5 @@ # test_tag.py -# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors +# Copyright (C) 2008-2010 Michael Trier (mtrier@gmail.com) and contributors # # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php @@ -15,22 +15,22 @@ class TestTag(object): @patch_object(Git, '_call_process') def test_list_from_string(self, git): git.return_value = fixture('for_each_ref_tags') - + tags = self.repo.tags - + assert_equal(1, len(tags)) assert_equal('v0.7.1', tags[0].name) assert_equal('634396b2f541a9f2d58b00be1a07f0c358b999b3', tags[0].commit.id) - + assert_true(git.called) assert_equal(git.call_args, (('for_each_ref', 'refs/tags'), {'sort': 'committerdate', 'format': '%(refname)%00%(objectname)'})) @patch_object(Git, '_call_process') def test_repr(self, git): git.return_value = fixture('for_each_ref') - + tag = self.repo.tags[0] assert_equal('' % tag.name, repr(tag)) - + assert_true(git.called) assert_equal(git.call_args, (('for_each_ref', 'refs/tags'), {'sort': 'committerdate', 'format': '%(refname)%00%(objectname)'})) -- cgit v1.2.3