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

openwisp / openwisp-firmware-upgrader / 30048404190
94%

Build:
DEFAULT BRANCH: master
Ran 23 Jul 2026 10:07PM UTC
Jobs 1
Files 48
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

23 Jul 2026 10:01PM UTC coverage: 94.057% (+0.01%) from 94.047%
30048404190

push

github

web-flow
[fix] Guarded cancel upgrade API URL behind FIRMWARE_UPGRADER_API #444

When the FIRMWARE_UPGRADER_API setting is disabled, the `reverse`
call for `upgrader:api_upgradeoperation_cancel` and the corresponding
template URL tag would previously cause a `NoReverseMatch` error.

This change guards these calls behind the `FIRMWARE_UPGRADER_API`
setting, causing them to gracefully return an empty string when the API is
disabled, preventing crashes.

Closes #444

2263 of 2406 relevant lines covered (94.06%)

11.29 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
98.36
0.01% admin.py
Jobs
ID Job ID Ran Files Coverage
1 python- - 30048404190.1 23 Jul 2026 10:07PM UTC 48
94.06
GitHub Action Run
Source Files on build 30048404190
  • Tree
  • List 48
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30048404190
  • 15331402 on github
  • Prev Build on master (#30015399947)
  • Next Build on master (#30590240913)
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