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

mozilla / relman-auto-nag / #5082

14 Jun 2024 02:51PM CUT coverage: 21.852% (-0.005%) from 21.857%
#5082

push

coveralls-python

benjaminmah
Moved `stackGraph` check to another function, replaced `.get()` with direct hash map access

716 of 3602 branches covered (19.88%)

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

1 existing line in 1 file now uncovered.

1933 of 8846 relevant lines covered (21.85%)

0.22 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