def test_double_dot_domain_should_be_detected(self):
     text = "hello [email protected], why you here ?"
     res = dtea.solve(text)
     self.assertEqual(res, "*****@*****.**")
 def test_botbot_at_gmail_com_should_be_detected(self):
     text = "hello [email protected], why you here ?"
     res = dtea.solve(text)
     self.assertEqual(res, "*****@*****.**")
 def test_a_dot_bcd_at_gmail_should_be_detected(self):
     text = "hello [email protected], why you here ?"
     res = dtea.solve(text)
     self.assertEqual(res, "*****@*****.**")