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