Added unit test for email
This commit is contained in:
parent
f0ac96de94
commit
34e2a89066
4 changed files with 35 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue