SIENTIAPDE-1174

Refactor unit tests to improve readability and maintainability

- Updated test assertions and mock setups in test_app.py for clarity.
- Added 'pod_id' to the metadata in test_ingestor.py for consistency.
- Introduced a new test for TAG_WRITTEN_COUNT in test_metrics.py to verify its definition.
- Enhanced test data structure in test_data_manager.py to include additional fields.
This commit is contained in:
vitor-aignosi
2025-07-31 12:03:27 -03:00
parent 17d958c666
commit cc01a358a9
4 changed files with 53 additions and 21 deletions

View File

@@ -51,6 +51,7 @@ def test___init__(notification_handler, getenv):
"model_name": "-",
"workflow_name": "OPC_INGESTOR",
"schema_name": "OPC_INGESTOR",
"pod_id": "localhost1"
}
notification_handler.assert_called_once_with(