Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tiny cleanup of a variable.
  • Loading branch information
gusmith committed Nov 11, 2019
commit 104f49e4a327cf4fb4efb03d151359b5dfc0a1b4
4 changes: 2 additions & 2 deletions backend/entityservice/tests/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,9 @@ def upload_binary_data(requests, data, project_id, token, count, size=128, expec
return upload_response


def upload_binary_data_from_file(requests, file_path, project_id, token, count, size=128, status=201):
def upload_binary_data_from_file(requests, file_path, project_id, token, count, size=128, expected_status_code=201):
with open(file_path, 'rb') as f:
return upload_binary_data(requests, f, project_id, token, count, size, status)
return upload_binary_data(requests, f, project_id, token, count, size, expected_status_code)


def get_expected_number_parties(project_params):
Expand Down