git-cl: Fix invocation of git new-branch

Bug: 1054787, 1051631
Change-Id: Ib36740a3f8158977897431c5b52e5ecbdaeb16b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2068506
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index a34b59a..4c18182 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -659,7 +659,8 @@
     mock.patch('scm.GIT.GetBranchRef', self.mockGit.GetBranchRef).start()
     mock.patch('scm.GIT.GetConfig', self.mockGit.GetConfig).start()
     mock.patch('scm.GIT.SetConfig', self.mockGit.SetConfig).start()
-    mock.patch('git_new_branch.main', self.mockGit.NewBranch).start()
+    mock.patch(
+        'git_new_branch.create_new_branch', self.mockGit.NewBranch).start()
     mock.patch(
         'scm.GIT.FetchUpstreamTuple',
         return_value=('origin', 'refs/heads/master')).start()