def testValidateEmailMultipleAt(self): email = "calvin@[email protected]" self.failIf(email_sender.validate_email(email))
def testValidateEmailWithInteger(self): email = 1 self.failIf(email_sender.validate_email(email))
def testValidateEmail(self): email = "*****@*****.**" self.failUnless(email_sender.validate_email(email))
def testValidateEmailNoAt(self): email = "calvinlslianggmail.com" self.failIf(email_sender.validate_email(email))
def testValidateEmailConsecutivePeriods(self): email = "*****@*****.**" self.failIf(email_sender.validate_email(email))