Skip to content

Commit 1e3a3e8

Browse files
committed
fix some more tests
1 parent 5957fe0 commit 1e3a3e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jupyterlab_git/tests/test_pushpull.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_git_pull_with_auth_fail(mock_git_auth_input_wrapper):
5656
# Then
5757
mock_git_auth_input_wrapper.assert_has_calls([
5858
call(
59-
command = ['git pull --no-commit'],
59+
command = 'git pull --no-commit',
6060
cwd='/bin/test_curr_path',
6161
env={'TEST': 'test', 'GIT_TERMINAL_PROMPT': '1'},
6262
username = 'asdf',
@@ -116,7 +116,7 @@ def test_git_pull_with_auth_success(mock_git_auth_input_wrapper):
116116
# Then
117117
mock_git_auth_input_wrapper.assert_has_calls([
118118
call(
119-
command = ['git pull --no-commit'],
119+
command = 'git pull --no-commit',
120120
cwd='/bin/test_curr_path',
121121
env={'TEST': 'test', 'GIT_TERMINAL_PROMPT': '1'},
122122
username = 'asdf',
@@ -176,7 +176,7 @@ def test_git_push_with_auth_fail(mock_git_auth_input_wrapper):
176176
# Then
177177
mock_git_auth_input_wrapper.assert_has_calls([
178178
call(
179-
command = ['git push test_origin HEAD:test_master'],
179+
command = 'git push test_origin HEAD:test_master',
180180
cwd='/bin/test_curr_path',
181181
env={'TEST': 'test', 'GIT_TERMINAL_PROMPT': '1'},
182182
username = 'asdf',
@@ -237,7 +237,7 @@ def test_git_push_with_auth_success(mock_git_auth_input_wrapper):
237237
# Then
238238
mock_git_auth_input_wrapper.assert_has_calls([
239239
call(
240-
command = ['git push . HEAD:test_master'],
240+
command = 'git push . HEAD:test_master',
241241
cwd='/bin/test_curr_path',
242242
env={'TEST': 'test', 'GIT_TERMINAL_PROMPT': '1'},
243243
username = 'asdf',

0 commit comments

Comments
 (0)