witten
/
luminotes
Archived
1
0
Fork 0

Fixed import in unit test.

This commit is contained in:
Dan Helfman 2008-08-21 14:06:26 -07:00
parent 0d012fbfef
commit 9bd86b53e8
1 changed files with 2 additions and 1 deletions

View File

@ -1457,7 +1457,8 @@ class Test_users( Test_controller ):
assert smtplib.SMTP.connected == False
assert len( smtplib.SMTP.emails ) == 1
from email.Message import Message, Charset
from email.Message import Message
from email import Charset
( from_address, to_addresses, message ) = smtplib.SMTP.emails[ 0 ]
assert self.email_address in from_address