aboutsummaryrefslogtreecommitdiff
path: root/test/git/test_tag.py
diff options
context:
space:
mode:
authorMichael Trier <mtrier@gmail.com>2008-07-17 17:22:01 -0400
committerMichael Trier <mtrier@gmail.com>2008-07-17 17:22:01 -0400
commitc04c60f12d3684ecf961509d1b8db895e6f9aac0 (patch)
tree464108d7ba000759bb0b75523cde6d0125d1d6d8 /test/git/test_tag.py
parent564db4f20bd7189a50a12d612d56ed6391081e83 (diff)
downloadGitPython-c04c60f12d3684ecf961509d1b8db895e6f9aac0.tar.gz
GitPython-c04c60f12d3684ecf961509d1b8db895e6f9aac0.zip
Removed method_missing since it was only used in one place.
Diffstat (limited to 'test/git/test_tag.py')
-rw-r--r--test/git/test_tag.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/git/test_tag.py b/test/git/test_tag.py
index 6626ec65..2f915b8d 100644
--- a/test/git/test_tag.py
+++ b/test/git/test_tag.py
@@ -12,7 +12,7 @@ class TestTag(object):
def setup(self):
self.repo = Repo(GIT_REPO)
- @patch(Git, 'method_missing')
+ @patch(Git, '_call_process')
def test_list_from_string(self, git):
git.return_value = fixture('for_each_ref_tags')
@@ -25,7 +25,7 @@ class TestTag(object):
assert_true(git.called)
assert_equal(git.call_args, (('for_each_ref', 'refs/tags'), {'sort': 'committerdate', 'format': '%(refname)%00%(objectname)'}))
- @patch(Git, 'method_missing')
+ @patch(Git, '_call_process')
def test_repr(self, git):
git.return_value = fixture('for_each_ref')