SIENTIAPDE-1222
Update test cases in model repository and prediction process - Replaced string data with MagicMock in test_transform_success and test_transform_error to improve test isolation. - Updated the predict method calls in test_predict_success and test_predict_error to reflect changes in argument structure. - Added 'prediction_store_policy' to the test_run configuration in test_prediction_process for consistency with recent updates.
This commit is contained in:
@@ -37,6 +37,7 @@ async def test_run(workflow_mock, prediction_process):
|
||||
'model_retention': '30',
|
||||
'path_priority': ['continue', 'repeat', 'stop'],
|
||||
'opc_output_config': {'test': 'config'},
|
||||
'prediction_store_policy': 'lts:1'
|
||||
}
|
||||
|
||||
# Mock the activity responses
|
||||
|
||||
Reference in New Issue
Block a user