We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2325ef7 commit be1242dCopy full SHA for be1242d
tests/test_git_utils.py
@@ -74,7 +74,7 @@ def test_check_and_push_branch(self, mock_confirm, mock_isatty, mock_repo):
74
mock_origin.push.return_value = None
75
76
assert check_and_push_branch(mock_repo_instance)
77
- mock_origin.push.assert_called_once_with("test-branch")
+ mock_origin.push.assert_called_once_with(mock_repo_instance.active_branch)
78
mock_origin.push.reset_mock()
79
80
# Test when branch is already pushed
0 commit comments