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

mozilla / relman-auto-nag / #5356

27 Nov 2024 04:58PM CUT coverage: 21.298%. Remained the same
#5356

push

coveralls-python

denschub
Issue #2548 - Disable some nags for some WebCompat components.

426 of 2942 branches covered (14.48%)

1943 of 9123 relevant lines covered (21.3%)

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