SIENTIAPDE-1325
Refactor initialization of Activities, Gates, and MongoDB classes for improved readability by using multi-line argument formatting. Update related tests to match the new initialization style.
This commit is contained in:
@@ -15,7 +15,11 @@ def gates_fixture():
|
||||
logger = Mock()
|
||||
notification_handler = MagicMock()
|
||||
metrics_controller = MagicMock()
|
||||
gates = Gates(logger=logger, notification_handler=notification_handler, metrics_controller=metrics_controller)
|
||||
gates = Gates(
|
||||
logger=logger,
|
||||
notification_handler=notification_handler,
|
||||
metrics_controller=metrics_controller,
|
||||
)
|
||||
gates.send_notification = MagicMock()
|
||||
gates.logger = logger
|
||||
gates.notification_handler = notification_handler
|
||||
|
||||
Reference in New Issue
Block a user