@@ -56,7 +56,7 @@ def test_git_pull_with_auth_fail(mock_git_auth_input_wrapper):
56
56
# Then
57
57
mock_git_auth_input_wrapper .assert_has_calls ([
58
58
call (
59
- command = ['git' , ' pull' , ' --no-commit' ],
59
+ command = ['git pull --no-commit' ],
60
60
cwd = '/bin/test_curr_path' ,
61
61
env = {'TEST' : 'test' , 'GIT_TERMINAL_PROMPT' : '1' },
62
62
username = 'asdf' ,
@@ -116,7 +116,7 @@ def test_git_pull_with_auth_success(mock_git_auth_input_wrapper):
116
116
# Then
117
117
mock_git_auth_input_wrapper .assert_has_calls ([
118
118
call (
119
- command = ['git' , ' pull' , ' --no-commit' ],
119
+ command = ['git pull --no-commit' ],
120
120
cwd = '/bin/test_curr_path' ,
121
121
env = {'TEST' : 'test' , 'GIT_TERMINAL_PROMPT' : '1' },
122
122
username = 'asdf' ,
@@ -176,7 +176,7 @@ def test_git_push_with_auth_fail(mock_git_auth_input_wrapper):
176
176
# Then
177
177
mock_git_auth_input_wrapper .assert_has_calls ([
178
178
call (
179
- command = ['git' , ' push' , ' test_origin' , ' HEAD:test_master' ],
179
+ command = ['git push test_origin HEAD:test_master' ],
180
180
cwd = '/bin/test_curr_path' ,
181
181
env = {'TEST' : 'test' , 'GIT_TERMINAL_PROMPT' : '1' },
182
182
username = 'asdf' ,
@@ -237,7 +237,7 @@ def test_git_push_with_auth_success(mock_git_auth_input_wrapper):
237
237
# Then
238
238
mock_git_auth_input_wrapper .assert_has_calls ([
239
239
call (
240
- command = ['git' , ' push' , '.' , ' HEAD:test_master' ],
240
+ command = ['git push . HEAD:test_master' ],
241
241
cwd = '/bin/test_curr_path' ,
242
242
env = {'TEST' : 'test' , 'GIT_TERMINAL_PROMPT' : '1' },
243
243
username = 'asdf' ,
0 commit comments