'Test when no list returned from sailthru'

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

    mock_sailthru_client.api_get.return_value = SailthruResponse(JsonResponse({'lists': []}))
    self.assertEqual(_get_list_from_email_marketing_provider(mock_sailthru_client), {})
    mock_sailthru_client.api_get.assert_called_with('list', {})
