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

zostera / django-bootstrap3 / 37195891585
100%

Build:
DEFAULT BRANCH: main
Ran 04 Oct 2026 10:36AM UTC
Jobs 1
Files 13
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Oct 2026 10:36AM UTC coverage: 95.309% (+6.7%) from 88.623%
37195891585

push

github

web-flow
Cover utils.py and forms.py with tests (#1158)

Second of three passes. utils.py goes from 81% to 100% and forms.py from 74%
to 100% of statements, with the package at 95%.

utils.py had no tests for remove_css_class at all, nor for handle_var, which
is what resolves a template value to a Python one, nor for the argument
parsing behind the {% buttons %} tag. forms.py had none for render_button's
sizes, types or optional attributes, and none for the standalone
render_form_errors and render_formset_errors.

Two things worth knowing rather than buried.

The malformed-argument guard in parse_token_contents cannot be reached through
a template. Django's kwarg_re matches every non-empty string and
split_contents never yields an empty bit, so only a direct caller can trigger
it. The test calls it directly and says so, rather than pretending a template
can get there. Unlike the unreachable branch removed in the previous pass,
this one does protect something, so it stays.

{% buttons ... as name %} binds a plain str rather than a safe string, so
rendering it with {{ name }} escapes the markup and a caller needs
{{ name|safe }}. The test pins both halves. This package is in maintenance
mode, so that is recorded rather than changed.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

232 of 252 branches covered (92.06%)

Branch coverage included in aggregate %.

723 of 750 relevant lines covered (96.4%)

9.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37195891585.1 04 Oct 2026 10:37AM UTC 13
95.31
GitHub Action Run
Source Files on build 37195891585
  • Tree
  • List 13
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 202c13df on github
  • Prev Build on main (#37195016725)
  • Next Build on main (#37196312017)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc