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: