Log notifications at the time of sending

This commit is contained in:
richard-dds
2019-05-15 11:40:28 -04:00
parent 9399b34a56
commit d8e75668b0
4 changed files with 14 additions and 12 deletions

View File

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