Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/t/w/twilio-python-HEAD/tests/test_twiml.py   twilio-python(Download)
    def testEmptySay(self):
        """should be a say with no text"""
        r = Response()
        r.append(twiml.Say(""))
        assert_equal(self.strip(r), '<?xml version="1.0" encoding="UTF-8"?><Response><Say /></Response>')
    def testSayFrench(self):
        """should say hello monkey"""
        r = Response()
        r.append(twiml.Say(u("n\xe9cessaire et d'autres")))  # it works on python 2.6 with the from __future__ import unicode_literal
        assert_equal(text_type(r),

src/p/y/python-twilio2-HEAD/tests/test_twiml.py   python-twilio2(Download)
    def testEmptySay(self):
        """should be a say with no text"""
        r = Response()
        r.append(twiml.Say(""))
        self.assertEquals(self.strip(r), '<?xml version="1.0" encoding="utf-8"?><Response><Say /></Response>')
    def testSayFrench(self):
        """should say hello monkey"""
        r = Response()
        r.append(twiml.Say(u"nécessaire et d'autres"))
        self.assertEquals(unicode(r),