More idiomatic initialization of notification_sender

This commit is contained in:
richard-dds
2019-05-13 12:06:33 -04:00
parent aaa9d47ccf
commit c03b69b351
3 changed files with 15 additions and 7 deletions

View File

@@ -11,8 +11,8 @@ def mock_queue(queue):
@pytest.fixture
def notification_sender(mock_queue):
return NotificationSender(mock_queue)
def notification_sender(mock_queue, mock_logger):
return NotificationSender(mock_queue, mock_logger)
def test_can_send_notification(mock_queue, notification_sender):