From dc1fcf372878240e0a1af20641d361f14aea7252 Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Fri, 31 Oct 2008 22:46:47 +0100 Subject: Get compatible with mock0.4 (to some extend ;)). Just that Michael doesn't need to do the same boring replacing I did. (cherry picked from commit 10c62aa69193a8bc7b46ca24c2ad1d5008489665) --- test/git/test_head.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/git/test_head.py') diff --git a/test/git/test_head.py b/test/git/test_head.py index ecac13c8..669665c0 100644 --- a/test/git/test_head.py +++ b/test/git/test_head.py @@ -11,7 +11,7 @@ class TestHead(object): def setup(self): self.repo = Repo(GIT_REPO) - @patch(Git, '_call_process') + @patch_object(Git, '_call_process') def test_repr(self, git): git.return_value = fixture('for_each_ref') -- cgit v1.2.1