blackkky
This commit is contained in:
parent
f6ce3be25e
commit
666bb067ae
@ -33,4 +33,5 @@ def mock_payload():
|
||||
def mock_make_load_data():
|
||||
def load_data(payload):
|
||||
return storage_data
|
||||
|
||||
return load_data
|
||||
|
||||
@ -17,7 +17,9 @@ def test_analyse_returns_analysis(mock_post, storage_data, mock_response):
|
||||
|
||||
|
||||
@patch("requests.post")
|
||||
def test_process_returns_dossier_id_file_id_predictions(mock_post, mock_make_load_data, storage_data, mock_response, mock_payload):
|
||||
def test_process_returns_dossier_id_file_id_predictions(
|
||||
mock_post, mock_make_load_data, storage_data, mock_response, mock_payload
|
||||
):
|
||||
mock_post.return_value = mock_response
|
||||
|
||||
analyze = make_analyzer(CONFIG.mock_analysis_endpoint)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user