Skip to content

Commit

Permalink
chore: removes additional Mock unused in test_bot.py
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 committed Oct 10, 2023
1 parent 84ce4b1 commit cd5d951
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/trestlebot/test_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cd5d951

Please sign in to comment.