Added unit test for email

This commit is contained in:
2013-07-20 22:26:43 +10:00
parent f0ac96de94
commit 34e2a89066
4 changed files with 35 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ import logging
SETTINGS = "settings.cfg"
EMAIL_SETTINGS = "EmailSettings.cfg"
def showhelp():
"""
Prints the command lines switches that are valid for the program.
@@ -154,7 +155,7 @@ def main(argv):
generallogger.info("==========================="
"=============\n\n")
libemail.SendEmail(EMAIL_SETTINGS, "Encoding Complete",
libemail.sendemail(EMAIL_SETTINGS, "Encoding Complete",
"Finished encoding {0} shows."
.format(len(showdata)))
else: