XyloSiteMonitor

Check-in [691fa11203]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed formatting bug in email titles
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA3-256: 691fa112036315b3ce82e0548414d8c5604b4e9c2ceb6502af6a020459ad81bd
User & Date: xylon 2019-10-09 17:34:58
Context
2019-10-09
17:34
Fixed formatting bug in email titles Leaf check-in: 691fa11203 user: xylon tags: trunk
2019-10-08
19:38
Added the ability to disable ipv6 if wanted check-in: 192d391275 user: xylon tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to xylositemonitor.py.

342
343
344
345
346
347
348
349
350
351
352
353
354
    mail_body += str(fail_count) + " tests failed\n"

    # OK so we've got our mail body, now we just need to work out what our subject is
    if fail_count > 0:
        send_mail(str(fail_count) + ' failing tests!')
    else:
        if not emailonlyfail:
            send_mail("all " + str(success_count) + "tests passed")

print("")
print("Summary:")
print(str(success_count) + " tests passed")
print(str(fail_count) + " tests failed")







|





342
343
344
345
346
347
348
349
350
351
352
353
354
    mail_body += str(fail_count) + " tests failed\n"

    # OK so we've got our mail body, now we just need to work out what our subject is
    if fail_count > 0:
        send_mail(str(fail_count) + ' failing tests!')
    else:
        if not emailonlyfail:
            send_mail("all " + str(success_count) + " tests passed")

print("")
print("Summary:")
print(str(success_count) + " tests passed")
print(str(fail_count) + " tests failed")