def METHOD_NAME(self):
    with patch('kombu.asynchronous.http.curl.pycurl'):
        x = self.Client()
        x._process_queue = Mock(name='_process_queue')
        x._set_timeout = Mock(name='_set_timeout')
        request = Mock(name='request')
        x.add_request(request)
        assert request in x._pending
        x._process_queue.assert_called_with()
        x._set_timeout.assert_called_with(0)