Exemple #1
0
 def test_sms_with_message(self):
     request = self.factory.post(self.sms_uri)
     self.assertEquals(
         sms(request, message='test').status_code,
         200,
     )
Exemple #2
0
 def test_sms_with_message(self):
     request = self.factory.post(self.sms_uri, HTTP_X_TWILIO_SIGNATURE=self.signature)
     self.assertEquals(sms(request, message="test").status_code, 200)
Exemple #3
0
 def test_sms_with_message(self):
     request = self.factory.post(self.sms_uri, HTTP_X_TWILIO_SIGNATURE=self.signature)
     self.assertEquals(sms(request, message='test').status_code, 200)
Exemple #4
0
 def test_sms_with_message(self):
     request = self.factory.post(self.sms_uri)
     self.assertEquals(
         sms(request, message='test').status_code,
         200,
     )