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

iplweb / bpp / 80e3a408-6e45-4572-8561-66829e6d8659

29 Aug 2025 07:31AM UTC coverage: 47.493%. Remained the same
80e3a408-6e45-4572-8561-66829e6d8659

push

circleci

mpasternak
Fix GitHub, maybe

19323 of 40686 relevant lines covered (47.49%)

1.51 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
4✔
2

3

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

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:
14
        for res in cl.result_list:
1✔
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
4✔
25

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