Ejemplo n.º 1
0
 def test_configured_authentication(self):
     os.environ['SMS_USER'] = "******"
     os.environ['SMS_PASS'] = "******"
     auth = sms.authentication()
     self.assertEquals(auth, ("TEST", "PASS"))
Ejemplo n.º 2
0
 def test_configured_authentication(self):
     os.environ['SMS_USER'] = "******"
     os.environ['SMS_PASS'] = "******"
     auth = sms.authentication()
     self.assertEquals(auth, ("TEST", "PASS"))
Ejemplo n.º 3
0
 def test_unconfigured_authentication(self):
     auth = sms.authentication()
     self.assertEquals(auth, ('', ''))
Ejemplo n.º 4
0
 def test_unconfigured_authentication(self):
     auth = sms.authentication()
     self.assertEquals(auth, ('', ''))