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

iplweb / bpp / 0950478e-207f-4389-967f-fb3a6c1090d4

01 Apr 2025 12:57PM UTC coverage: 43.279% (-3.3%) from 46.628%
0950478e-207f-4389-967f-fb3a6c1090d4

push

circleci

mpasternak
Merge branch 'release/v202504.1175'

1 of 19 new or added lines in 5 files covered. (5.26%)

1780 existing lines in 123 files now uncovered.

15876 of 36683 relevant lines covered (43.28%)

0.79 hits per line

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

0.0
src/django_bpp/tests/test_sentry_support.py
UNCOV
1
from django.core.exceptions import DisallowedHost
×
2

UNCOV
3
from django_bpp.sentry_support import global_stacktrace_filter
×
4

5

UNCOV
6
def test_global_stacktrace_filter():
×
7

8
    assert (
×
9
        global_stacktrace_filter(1, {"exc_info": [DisallowedHost, None, None]}) is None
10
    )
11

12
    assert (
×
13
        global_stacktrace_filter(
14
            1,
15
            {
16
                "exc_info": [
17
                    RuntimeError,
18
                    RuntimeError("Response content shorter than Content-Length"),
19
                    None,
20
                ]
21
            },
22
        )
23
        is None
24
    )
25

26
    assert (
×
27
        global_stacktrace_filter(
28
            1, {"exc_info": [RuntimeError, RuntimeError("inny blad"), None]}
29
        )
30
        == 1
31
    )
32

33
    assert (
×
34
        global_stacktrace_filter(
35
            1, {"exc_info": [Exception, Exception("koparka"), None]}
36
        )
37
        == 1
38
    )
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

© 2026 Coveralls, Inc