Back to index

moin  1.9.0~rc2
Public Member Functions | Static Private Attributes
test_sendmail.TestdecodeSpamSafeEmail Class Reference

List of all members.

Public Member Functions

def testDecodeSpamSafeMail

Static Private Attributes

tuple _tests

Detailed Description

mail.sendmail: testing mail

Definition at line 15 of file

Member Function Documentation

mail.sendmail: decoding spam safe mail

Definition at line 38 of file

00039     def testDecodeSpamSafeMail(self):
00040         """mail.sendmail: decoding spam safe mail"""
00041         for coded, expected in self._tests:
00042             assert sendmail.decodeSpamSafeEmail(coded) == expected

Member Data Documentation

Initial value:
        ('', ''),
        ('AT', '@'),
        ('DOT', '.'),
        ('DASH', '-'),
        ('CAPS', ''),
        ('Mixed', 'Mixed'),
        ('lower', 'lower'),
        ('Firstname DOT Lastname AT example DOT net',
        ('Firstname . Lastname AT exa mp le DOT n e t',
        ('Firstname I DONT WANT SPAM . Lastname@example DOT net',
        ('First name I Lastname DONT AT WANT SPAM example DOT n e t',
        ('', ''),
        ('first . last @ example . com', ''),

Definition at line 18 of file

The documentation for this class was generated from the following file: