Skip to content

Commit d0cbcd8

Browse files
committed
deploy: 2834120
1 parent 17927d1 commit d0cbcd8

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

remote_branch_rename/tests/test_verify.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020

2121
def test_base():
2222
with (
23-
patch("branch_rename.verify.fetch_remotes", side_effect=None),
24-
patch("branch_rename.verify.get_remotes", return_value=["improve-loading"]),
23+
patch("remote_brance_rename.verify.fetch_remotes", side_effect=None),
24+
patch(
25+
"remote_brance_rename.verify.get_remotes", return_value=["improve-loading"]
26+
),
2527
loader.load("specs/base.yml") as output,
2628
):
2729
assert_output(output, GitAutograderStatus.SUCCESSFUL)
@@ -78,8 +80,10 @@ def test_rename_improve_loading_wrong():
7880

7981
def test_improve_loadding_remote_exists():
8082
with (
81-
patch("branch_rename.verify.fetch_remotes", side_effect=None),
82-
patch("branch_rename.verify.get_remotes", return_value=["improve-loadding"]),
83+
patch("remote_brance_rename.verify.fetch_remotes", side_effect=None),
84+
patch(
85+
"remote_brance_rename.verify.get_remotes", return_value=["improve-loadding"]
86+
),
8387
loader.load("specs/base.yml") as output,
8488
):
8589
assert_output(
@@ -91,8 +95,10 @@ def test_improve_loadding_remote_exists():
9195

9296
def test_improve_loading_remote_missing():
9397
with (
94-
patch("branch_rename.verify.fetch_remotes", side_effect=None),
95-
patch("branch_rename.verify.get_remotes", return_value=["improve-loaing"]),
98+
patch("remote_brance_rename.verify.fetch_remotes", side_effect=None),
99+
patch(
100+
"remote_brance_rename.verify.get_remotes", return_value=["improve-loaing"]
101+
),
96102
loader.load("specs/base.yml") as output,
97103
):
98104
assert_output(

0 commit comments

Comments
 (0)