Ignore:
Timestamp:
7 May 2012, 10:53:25 (13 years ago)
Author:
uli
Message:

Handle unusual SMTP address parts more predictable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/tests/test_smtp.py

    r7819 r8382  
    7575        result3 = encode_header_item(u'Plain Name')
    7676        result4 = encode_header_item(u'Name with umläut')
     77        result5 = encode_header_item(None)
    7778        self.assertEqual(result1, u'Plain Name')
    7879        self.assertEqual(result2, u'=?iso-8859-1?q?Name_with_uml=E4ut?=')
    7980        self.assertEqual(result3, u'Plain Name')
    8081        self.assertEqual(result4, u'=?iso-8859-1?q?Name_with_uml=E4ut?=')
     82        self.assertTrue(result5 is None)
    8183        return
    8284
Note: See TracChangeset for help on using the changeset viewer.