Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit08f3289

Browse files
davispByron
authored andcommitted
Fix unittests for Mock 0.5.0
1 parentc8b4ab7 commit08f3289

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

‎test/git/test_repo.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def test_blob(self, git):
116116

117117
@patch_object(Repo,'__init__')
118118
@patch_object(Git,'_call_process')
119-
deftest_init_bare(self,repo,git):
119+
deftest_init_bare(self,git,repo):
120120
git.return_value=True
121121
repo.return_value=None
122122

@@ -129,7 +129,7 @@ def test_init_bare(self, repo, git):
129129

130130
@patch_object(Repo,'__init__')
131131
@patch_object(Git,'_call_process')
132-
deftest_init_bare_with_options(self,repo,git):
132+
deftest_init_bare_with_options(self,git,repo):
133133
git.return_value=True
134134
repo.return_value=None
135135

@@ -142,7 +142,7 @@ def test_init_bare_with_options(self, repo, git):
142142

143143
@patch_object(Repo,'__init__')
144144
@patch_object(Git,'_call_process')
145-
deftest_fork_bare(self,repo,git):
145+
deftest_fork_bare(self,git,repo):
146146
git.return_value=None
147147
repo.return_value=None
148148

@@ -155,7 +155,7 @@ def test_fork_bare(self, repo, git):
155155

156156
@patch_object(Repo,'__init__')
157157
@patch_object(Git,'_call_process')
158-
deftest_fork_bare_with_options(self,repo,git):
158+
deftest_fork_bare_with_options(self,git,repo):
159159
git.return_value=None
160160
repo.return_value=None
161161

‎test/git/test_tree.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_content_from_string_invalid_type_should_raise(self):
5656

5757
@patch_object(Blob,'size')
5858
@patch_object(Git,'_call_process')
59-
deftest_slash(self,blob,git):
59+
deftest_slash(self,git,blob):
6060
git.return_value=fixture('ls_tree_a')
6161
blob.return_value=1
6262

@@ -70,7 +70,7 @@ def test_slash(self, blob, git):
7070

7171
@patch_object(Blob,'size')
7272
@patch_object(Git,'_call_process')
73-
deftest_slash_with_zero_length_file(self,blob,git):
73+
deftest_slash_with_zero_length_file(self,git,blob):
7474
git.return_value=fixture('ls_tree_a')
7575
blob.return_value=0
7676

@@ -97,7 +97,7 @@ def test_slash_with_commits(self, git):
9797

9898
@patch_object(Blob,'size')
9999
@patch_object(Git,'_call_process')
100-
deftest_dict(self,blob,git):
100+
deftest_dict(self,git,blob):
101101
git.return_value=fixture('ls_tree_a')
102102
blob.return_value=1
103103

@@ -111,7 +111,7 @@ def test_dict(self, blob, git):
111111

112112
@patch_object(Blob,'size')
113113
@patch_object(Git,'_call_process')
114-
deftest_dict_with_zero_length_file(self,blob,git):
114+
deftest_dict_with_zero_length_file(self,git,blob):
115115
git.return_value=fixture('ls_tree_a')
116116
blob.return_value=0
117117

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp