Skip to content

Commit

Permalink
UT: Remove unneccessary mock return value
Browse files Browse the repository at this point in the history
  • Loading branch information
cakekoa committed May 24, 2023
1 parent 1714437 commit 27275c1
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def test_copy_file__fails_if_client_copy_fails(
):
tags = EXPLOITER_TAGS.copy()
mock_powershell_client.connected.return_value = True
mock_powershell_client.copy_file.return_value = True
mock_powershell_client.copy_file.side_effect = Exception("file")

with pytest.raises(RemoteFileCopyError):
Expand Down

0 comments on commit 27275c1

Please sign in to comment.