Revision: 752
Author: keith.dart
Date: Fri Apr 25 21:50:49 2014 UTC
Log: Add subject to unit test.
http://code.google.com/p/pycopia/source/detail?r=752
Modified:
/testing/testcases/unittests/core/ezmail.py
=======================================
--- /testing/testcases/unittests/core/ezmail.py Fri Apr 25 21:15:51 2014 UTC
+++ /testing/testcases/unittests/core/ezmail.py Fri Apr 25 21:50:49 2014 UTC
@@ -51,8 +51,6 @@
+++++++++
#. Send email with unicode attachement.
- #. Step 2 ...
- #. Step 3 ...
"""
def execute(self):
@@ -70,7 +68,7 @@
second["Content-Disposition"] = 'attachment; filename=utf8.txt'
message.attach(second)
- ezmail.mail(message,
mailhost=self.config.get("mailhost", "localhost"))
+ ezmail.mail(message, subject="ezmail unittest output",
mailhost=self.config.get("mailhost", "localhost"))
return self.passed("Mail sent.")