summaryrefslogtreecommitdiff
path: root/test/git/test_tree.py
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2009-07-14 10:31:26 -0400
committerMartin Marcher <martin@marcher.name>2009-09-14 15:10:49 +0200
commit386d1af07bf1f32fac5e97612441488894f2ffed (patch)
treefdeb03720e402b77d895e4b1f2416e74cd6dffaa /test/git/test_tree.py
parent4c39f9da792792d4e73fc3a5effde66576ae128c (diff)
downloadgitpython-386d1af07bf1f32fac5e97612441488894f2ffed.tar.gz
Fix unittests for Mock 0.5.0
Diffstat (limited to 'test/git/test_tree.py')
-rw-r--r--test/git/test_tree.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/git/test_tree.py b/test/git/test_tree.py
index c9fc2640..947b0ffb 100644
--- a/test/git/test_tree.py
+++ b/test/git/test_tree.py
@@ -56,7 +56,7 @@ class TestTree(object):
@patch_object(Blob, 'size')
@patch_object(Git, '_call_process')
- def test_slash(self, blob, git):
+ def test_slash(self, git, blob):
git.return_value = fixture('ls_tree_a')
blob.return_value = 1
@@ -70,7 +70,7 @@ class TestTree(object):
@patch_object(Blob, 'size')
@patch_object(Git, '_call_process')
- def test_slash_with_zero_length_file(self, blob, git):
+ def test_slash_with_zero_length_file(self, git, blob):
git.return_value = fixture('ls_tree_a')
blob.return_value = 0
@@ -97,7 +97,7 @@ class TestTree(object):
@patch_object(Blob, 'size')
@patch_object(Git, '_call_process')
- def test_dict(self, blob, git):
+ def test_dict(self, git, blob):
git.return_value = fixture('ls_tree_a')
blob.return_value = 1
@@ -111,7 +111,7 @@ class TestTree(object):
@patch_object(Blob, 'size')
@patch_object(Git, '_call_process')
- def test_dict_with_zero_length_file(self, blob, git):
+ def test_dict_with_zero_length_file(self, git, blob):
git.return_value = fixture('ls_tree_a')
blob.return_value = 0