def test_mailto_scheme(self): assert E.recode_email('mailto:' + self.email) == 'mailto:' + self.expected # This is technically wrong, but we fix it. assert E.recode_email('mailto://' + self.email) == 'mailto:' + self.expected
def test_recode_email_idempotent(self): assert E.recode_email(E.recode_email(self.email)) == self.expected
def test_recode_email(self): assert E.recode_email(self.email) == self.expected