SIENTIAPDE-988

Enhance IngestorManager and related tests with notification handling integration

- Added notification_handler parameter to IngestorManager and OpcManager initialization for improved event handling.
- Updated unit tests to include notification_handler in the Ingestor and IngestorManager instantiation, ensuring proper coverage of new functionality.
- Refactored test cases to validate the integration of notification handling across components.
This commit is contained in:
vitor-aignosi
2025-05-05 10:06:05 -03:00
parent d00078d323
commit 5f95b6309e
3 changed files with 6 additions and 5 deletions

View File

@@ -123,9 +123,9 @@ def test_prepare_ingestor(ingestor_manager_mock, ingestor):
ingestor.pod_id,
ingestor.poll_interval,
ingestor.logger,
ingestor.notification_handler,
ingestor.redis_username,
ingestor.redis_password,
ingestor.notification_handler
ingestor.redis_password
)
ingestor_manager.declare_active.assert_called_once()
ingestor_manager.get_slot_leases.assert_called_once()