From 03120748514bd873305b2c922466bc845089b111 Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Tue, 10 Oct 2023 19:18:06 -0400 Subject: [PATCH] chore: removes additional Mock unused in test_bot.py Signed-off-by: Jennifer Power --- tests/trestlebot/test_bot.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/trestlebot/test_bot.py b/tests/trestlebot/test_bot.py index 8a06f2cb..c2876648 100644 --- a/tests/trestlebot/test_bot.py +++ b/tests/trestlebot/test_bot.py @@ -304,10 +304,6 @@ def test_run_with_exception( with open(test_file_path, "w") as f: f.write("Test content") - mock = Mock(spec=GitProvider) - mock.create_pull_request.return_value = 10 - mock.parse_repository.return_value = ("ns", "repo") - repo.create_remote("origin", url="git.test.com/test/repo.git") with patch("git.remote.Remote.push") as mock_push: