def test_staff_digest_task(self, mock_send): """Make sure the send method is called with the staff user.""" tasks.staff_digest() mock_send.assert_called_with()
def test_staff_digest_task(self, mock_send): """Make sure the send method is called with the staff user.""" # pylint: disable=no-self-use tasks.staff_digest() mock_send.assert_called_with()