@@ -23,7 +23,7 @@ def test_git_pull_fail(mock_subproc_popen):
2323 # Then
2424 mock_subproc_popen .assert_has_calls ([
2525 call (
26- ['git' , ' pull' , ' --no-commit' ],
26+ ['git pull --no-commit' ],
2727 stdout = PIPE ,
2828 stderr = PIPE ,
2929 cwd = '/bin/test_curr_path' ,
@@ -52,7 +52,7 @@ def test_git_pull_success(mock_subproc_popen):
5252 # Then
5353 mock_subproc_popen .assert_has_calls ([
5454 call (
55- ['git' , ' pull' , ' --no-commit' ],
55+ ['git pull --no-commit' ],
5656 stdout = PIPE ,
5757 stderr = PIPE ,
5858 cwd = '/bin/test_curr_path' ,
@@ -81,7 +81,7 @@ def test_git_push_fail(mock_subproc_popen):
8181 # Then
8282 mock_subproc_popen .assert_has_calls ([
8383 call (
84- ['git' , ' push' , ' test_origin' , ' HEAD:test_master' ],
84+ ['git push test_origin HEAD:test_master' ],
8585 stdout = PIPE ,
8686 stderr = PIPE ,
8787 cwd = '/bin/test_curr_path' ,
@@ -110,7 +110,7 @@ def test_git_push_success(mock_subproc_popen):
110110 # Then
111111 mock_subproc_popen .assert_has_calls ([
112112 call (
113- ['git' , ' push' , '.' , ' HEAD:test_master' ],
113+ ['git push . HEAD:test_master' ],
114114 stdout = PIPE ,
115115 stderr = PIPE ,
116116 cwd = '/bin/test_curr_path' ,
0 commit comments