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

openwisp / openwisp-firmware-upgrader / 30832389744
94%

Build:
DEFAULT BRANCH: master
Ran 03 Aug 2026 04:35PM 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

03 Aug 2026 04:29PM UTC coverage: 94.074% (+0.02%) from 94.057%
30832389744

push

github

web-flow
[change] Improved handling of cascade deletion #256

This change addresses an issue where deleting an organization was
blocked due to `UpgradeOperation` and `BatchUpgradeOperation` records.
The `BlockDeleteAllowCascadeMixin` from `openwisp_utils.admin` is now
used to correctly handle cascade deletions, allowing them when triggered
by a parent object or bulk actions, while still preventing deletion of
in-progress operations with a clear error message.

This change mirrors the implementation in openwisp-utils and
includes new unit tests to verify the permission logic for various
deletion scenarios.

Closes #256

---------

Co-authored-by: Federico Capoano <f.capoano@openwisp.io>

2270 of 2413 relevant lines covered (94.07%)

11.29 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
98.38
0.02% admin.py
Jobs
ID Job ID Ran Files Coverage
1 python- - 30832389744.1 03 Aug 2026 04:35PM UTC 48
94.07
GitHub Action Run
Source Files on build 30832389744
  • 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 #30832389744
  • 9a7dd654 on github
  • Prev 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