'Test when exception raised while fetching data from sailthru'

@patch('email_marketing.tasks.SailthruClient')
def test_get_sailthru_list_map_exception(self, mock_sailthru_client):

    mock_sailthru_client.api_get.side_effect = SailthruClientError
    self.assertEqual(_get_list_from_email_marketing_provider(mock_sailthru_client), {})
