def METHOD_NAME(self):
    with patch('kombu.asynchronous.http.curl.pycurl') as _pycurl:
        x = self.Client()
        x._on_event = Mock(name='on_event')
        fd = Mock(name='fd')
        x.on_readable(fd, _pycurl=_pycurl)
        x._on_event.assert_called_with(fd, _pycurl.CSELECT_IN)
        x.on_writable(fd, _pycurl=_pycurl)
        x._on_event.assert_called_with(fd, _pycurl.CSELECT_OUT)