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

iplweb / bpp / e4182907-b807-4c44-b0e6-e95d00f6f63d

16 Feb 2025 08:40PM UTC coverage: 48.007% (+0.005%) from 48.002%
e4182907-b807-4c44-b0e6-e95d00f6f63d

push

circleci

mpasternak
Fix "connection already closed"

7 of 11 new or added lines in 1 file covered. (63.64%)

2013 existing lines in 116 files now uncovered.

16798 of 34991 relevant lines covered (48.01%)

1.22 hits per line

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

80.0
src/pbn_api/admin/monkeypatch_nowrap_foreignkey_admin.py
1
from django.utils.safestring import mark_safe
3✔
2

3

4
def monkeypatched_results(cl):
3✔
UNCOV
5
    from django.contrib.admin.templatetags.admin_list import (
1✔
6
        ResultList,
7
        items_for_result,
8
    )
9

UNCOV
10
    if cl.formset:
1✔
11
        for res, form in zip(cl.result_list, cl.formset.forms):
×
12
            yield ResultList(form, items_for_result(cl, res, form))
×
13
    else:
UNCOV
14
        for res in cl.result_list:
1✔
UNCOV
15
            yield ResultList(
1✔
16
                None,
17
                [
18
                    mark_safe(x.replace(' nowrap"', '"'))
19
                    for x in items_for_result(cl, res, None)
20
                ],
21
            )
22

23

24
from django.contrib.admin.templatetags import admin_list
3✔
25

26
admin_list.results = monkeypatched_results
3✔
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