def test_configured_authentication(self): os.environ['SMS_USER'] = "******" os.environ['SMS_PASS'] = "******" auth = sms.authentication() self.assertEquals(auth, ("TEST", "PASS"))
def test_unconfigured_authentication(self): auth = sms.authentication() self.assertEquals(auth, ('', ''))