Did I find the right examples for you? yes no

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

src/m/y/myewb2-HEAD/myewb/contrib/twilio/tests/twimltests.py   myewb2(Download)
    def testEmpty(self):
        """Test empty sms verb"""
        r = twilio.Response()
        r.append(twilio.Sms(""))
        r = self.strip(r)
    def testBody(self):
        """Test hello world"""
        r = twilio.Response()
        r.append(twilio.Sms("Hello, World"))
        r = self.strip(r)
    def testToFromAction(self):
        """ Test the to, from, and status callback"""
        r = twilio.Response()
        r.append(twilio.Sms("Hello, World", to=1231231234, sender=3453453456, 
            statusCallback="example.com?id=34&action=hey"))
    def testActionMethod(self):
        """ Test the action and method parameters on Sms"""
        r = twilio.Response()
        r.append(twilio.Sms("Hello", method="POST", action="example.com?id=34&action=hey"))
        r = self.strip(r)
    def testBadAppend(self):
        """ should raise exceptions for wrong appending"""
        self.improperAppend(twilio.Sms("Hello"))
 
class TestDial(TwilioTest):

src/s/m/smsmybus-dev-HEAD/apps/sms.py   smsmybus-dev(Download)
      #smsBody = "Route %s, Stop %s" % (routeID, stopID) + "\n" + response 
      r = twilio.Response()
      r.append(twilio.Sms(response))
      self.response.out.write(r)
      return

src/s/m/SMSMyBus-HEAD/apps/sms.py   SMSMyBus(Download)
      # setup the response SMS
      r = twilio.Response()
      r.append(twilio.Sms(response))
      self.response.out.write(r)
      return