Closed eugene-eeo closed 9 years ago
Nice !
@rslinckx do you want to make the tests nicer? They're really ugly at the moment.
Why ? What should be improved ?
The tests for the UnicodeDict
class; currently I find them very inelegant. Also the tests for the Postman
class has room for improvement.
I won't have time to look at this this week to be honest, so don't hold your breath :)
The
UnicodeDict
allows headers to be specified in Unicode or byte-strings, and perform the conversion accordingly. Also,Headers.sender
andreceivers
now return unicode addresses. The decision being that it is easier for subclasses to extend from and also makes it easier for themail_from
address to be specified, and also lets encoding to be done where it is required.cc @rslinckx