Esempio n. 1
0
 def test_integer_number(self):
     sms.number(1234567890)
     self.assertEquals(os.environ['SMSIFIED_NUMBER'], '1234567890')
Esempio n. 2
0
 def test_send(self):
     sms.number('123-456-7890')
     sms.send('555-555-5555', 'ohai')
     self.assertTrue(self.post.called)
Esempio n. 3
0
 def test_number(self):
     sms.number('123-456-7890')
     self.assertEquals(os.environ['SMSIFIED_NUMBER'], '1234567890')