Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Signals the call to leave its queue
    

src/t/w/twilio-python-HEAD/tests/test_twiml.py   twilio-python(Download)
    def testLeave(self):
        """convenience: should Hangup to a url via POST"""
        r = Response()
        r.append(twiml.Leave())
        r = self.strip(r)
        assert_equal(r, '<?xml version="1.0" encoding="UTF-8"?><Response><Leave /></Response>')
 
    def testBadAppend(self):
        """ should raise exceptions for wrong appending"""
        self.improperAppend(twiml.Leave())