Skip to content

Commit

Permalink
remove redundent code
Browse files Browse the repository at this point in the history
  • Loading branch information
mattreex committed Feb 4, 2021
1 parent 5ec2e8a commit c52b1a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/data/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1263,8 +1263,6 @@ def test_delete_files(app, client, auth_client, encoded_creds_jwt, user_client):

# case for urls subset of total locations with error
mocklocation.reset_mock()
mocklocation.delete.return_value = ("bad response", 400)
indx.indexed_file_locations = [mocklocation, mocklocation]
message, status = indx.delete_files(urls, delete_all=True)
assert 1 == mocklocation.delete.call_count
assert status == 400
Expand Down

0 comments on commit c52b1a0

Please sign in to comment.