Skip to content

Commit

Permalink
renamed mock
Browse files Browse the repository at this point in the history
  • Loading branch information
ytausch committed Oct 18, 2024
1 parent 1a6a13a commit b030c93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_git_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ def test_git_cli_clone_fork_and_branch_non_existing_remote_existing_target_dir(c
)
@mock.patch("conda_forge_tick.git_utils.GitCli.clone_fork_and_branch")
def test_git_platform_backend_clone_fork_and_branch(
convenience_method_mock: MagicMock,
clone_fork_and_branch_mock: MagicMock,
user_mock: MagicMock,
backend: GitPlatformBackend,
):
Expand All @@ -973,7 +973,7 @@ def test_git_platform_backend_clone_fork_and_branch(
upstream_owner, repo_name, target_dir, new_branch, base_branch
)

convenience_method_mock.assert_called_once_with(
clone_fork_and_branch_mock.assert_called_once_with(
origin_url=f"https://github.com/USER/{repo_name}.git",
target_dir=target_dir,
upstream_url=f"https://github.com/{upstream_owner}/{repo_name}.git",
Expand Down

0 comments on commit b030c93

Please sign in to comment.