def test_percolate(self): c = BaseClient() c.percolate( 'test', 'test', body=None, cb=self.handle_cb ) self.wait()
def test_percolate(self): c = BaseClient() h_cb = partial( self.handle_cb, **{'codes':[400, 403, 404]} ) c.percolate( 'test', 'test', body=None, cb=h_cb ) self.wait()
def test_percolate(self): c = BaseClient() h_cb = partial( self.handle_cb, **{'codes':[400, 403, 404]} ) c.percolate( 'test', 'test', body=None, callback=h_cb ) self.wait()