diff --git a/openedx_events/tests/test_producer_config.py b/openedx_events/tests/test_producer_config.py index f29c836c..68250566 100644 --- a/openedx_events/tests/test_producer_config.py +++ b/openedx_events/tests/test_producer_config.py @@ -68,11 +68,12 @@ def test_events_with_custom_metadata_disabled(self, mock_producer, mock_logger): mock_producer.return_value = mock_send metadata = XBLOCK_PUBLISHED.generate_signal_metadata() - XBLOCK_PUBLISHED.send_event_with_custom_metadata(metadata ,xblock_info=self.xblock_info) + XBLOCK_PUBLISHED.send_event_with_custom_metadata(metadata, xblock_info=self.xblock_info) mock_send.send.assert_not_called() - mock_logger.info.assert_called_once_with(f"Signal already processed on the Event Bus {XBLOCK_PUBLISHED.event_type}, skipping...") - + mock_logger.info.assert_called_once_with( + f"Signal already processed on the Event Bus {XBLOCK_PUBLISHED.event_type}, skipping..." + ) @patch('openedx_events.apps.get_producer') @override_settings(EVENT_BUS_PRODUCER_CONFIG={})