SIENTIAPDE-1478

SIENTIAPDE-1478
Enhance end-to-end tests for PredictionsBatch workflow

- Added new test scenarios for input and transform gates handling CONTINUE, STOP, and REPEAT policies.
- Implemented sample data insertion functions for testing various prediction outcomes.
- Updated existing tests to verify behavior under different input conditions and response validations.
- Refactored test structure for clarity and maintainability.
This commit is contained in:
vitor-aignosi
2026-01-15 15:46:05 -03:00
parent 85e69a09e0
commit b5b86db10c
2 changed files with 770 additions and 101 deletions

View File

@@ -595,7 +595,6 @@ async def test_format_transformed_data_multiple_rows(gates_activity):
assert len(result['variable']) == 4
assert len(result['value']) == 4
assert len(result['model_id']) == 4
assert len(result['created_at']) == 4
assert all(v == 'test_model' for v in result['model_id'].values())
assert set(result['variable'].values()) == {'var1', 'var2'}
gates_activity.info.assert_called()