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

openwisp / openwisp-firmware-upgrader / 26048710483
94%

Build:
DEFAULT BRANCH: master
Ran 18 May 2026 05:19PM UTC
Jobs 1
Files 47
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

18 May 2026 05:13PM UTC coverage: 93.582%. Remained the same
26048710483

push

github

web-flow
[tests] Allowed overriding mock paths in test_admin.py‎

When ``@mock.patch`` is used as a decorator on a test method, it is
evaluated and applied at class parsing time. This hardcodes the
configuration value from the base test class in the openwisp module,
preventing extended test classes from overriding it.

Switching to a context manager (``with mock.patch(...)``) defers the
evaluation to test runtime. This allows the patch to dynamically
resolve and use the overridden field values defined in extended test
classes.

---------

Co-authored-by: Alexandre Vincent <alexandre.vincent@stellar.tc>

2187 of 2337 relevant lines covered (93.58%)

11.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python- - 26048710483.1 18 May 2026 05:19PM UTC 47
93.58
GitHub Action Run
Source Files on build 26048710483
  • Tree
  • List 47
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26048710483
  • efb27a9d on github
  • Prev Build on master (#25692776371)
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