Skip to content

Commit be1242d

Browse files
committed
fix test
1 parent 2325ef7 commit be1242d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_git_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_check_and_push_branch(self, mock_confirm, mock_isatty, mock_repo):
7474
mock_origin.push.return_value = None
7575

7676
assert check_and_push_branch(mock_repo_instance)
77-
mock_origin.push.assert_called_once_with("test-branch")
77+
mock_origin.push.assert_called_once_with(mock_repo_instance.active_branch)
7878
mock_origin.push.reset_mock()
7979

8080
# Test when branch is already pushed

0 commit comments

Comments
 (0)