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