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:
vitor-aignosi
2025-09-17 10:07:32 -03:00
parent 20fc938cc0
commit 73c8593993
2 changed files with 15 additions and 7 deletions

View File

@@ -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