Skip to content

Commit

Permalink
linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mpnowacki-reef committed Aug 31, 2023
1 parent 785406d commit 50268a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/unit/test_console_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -2686,10 +2686,14 @@ def _run_problematic_removal(

original_delete_file_version = self.b2_api.raw_api.delete_file_version

def mocked_delete_file_version(this, account_auth_token, file_id, file_name, bypass_governance=False):
def mocked_delete_file_version(
this, account_auth_token, file_id, file_name, bypass_governance=False
):
if file_name == 'b/b1/test.csv':
raise Conflict()
return original_delete_file_version(this, account_auth_token, file_id, file_name, bypass_governance)
return original_delete_file_version(
this, account_auth_token, file_id, file_name, bypass_governance
)

with mock.patch.object(
self.b2_api.raw_api,
Expand Down

0 comments on commit 50268a4

Please sign in to comment.