• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mozilla / relman-auto-nag / #5136

03 Jul 2024 08:38PM CUT coverage: 21.488% (-0.003%) from 21.491%
#5136

push

coveralls-python

benjaminmah
Removed old needinfo template

716 of 3685 branches covered (19.43%)

0 of 4 new or added lines in 1 file covered. (0.0%)

2 existing lines in 1 file now uncovered.

1932 of 8991 relevant lines covered (21.49%)

0.21 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/bugbot/erroneous_bzmail.py
1
# This Source Code Form is subject to the terms of the Mozilla Public
2
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
3
# You can obtain one at http://mozilla.org/MPL/2.0/.
4

5
from . import mail, utils
×
6
from .round_robin import RoundRobin
×
7

8

9
def send_mail(err, dryrun=False):
×
10
    for fb, bzmails in err.items():
×
11
        mail.send_from_template(
×
12
            "erroneous_bzmail_email.html",
13
            fb,
14
            "Triage owners with erroneous Bugzilla email",
15
            Cc=utils.get_receivers("common"),
16
            dryrun=dryrun,
17
            bzmails=bzmails,
18
            plural=utils.plural,
19
        )
20

21

22
def check_erroneous_bzmail(dryrun=False):
×
23
    rr = RoundRobin.get_instance()
×
24
    err = rr.get_erroneous_bzmail()
×
25
    if err:
×
26
        send_mail(err, dryrun=dryrun)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc