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

zentralopensource / zentral / 43047432480
92%

Build:
DEFAULT BRANCH: main
Ran 11 Nov 2026 03:30PM UTC
Jobs 1
Files 1069
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

11 Nov 2026 03:06PM UTC coverage: 91.599%. Remained the same
43047432480

push

github

np5
API: share the file download view, keep the parser selection

FileDownloadContentNegotiation subclasses DefaultContentNegotiation
and overrides select_renderer only. Its select_parser took the first
parser whatever the Content-Type: a body with the wrong type got a 400
instead of a 415, and an empty parser list a 500.

The download views inherit from FileDownloadAPIView, in
zentral/utils/drf.py, instead of setting the negotiation class one by
one, so that a new download view gets it too.

The tests cover the JSON 401 of each module and of the task result
download, and the task result entry download and the redirects to a
signed URL with a non-JSON Accept header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

16 of 16 new or added lines in 7 files covered. (100.0%)

15 existing lines in 3 files now uncovered.

55795 of 60912 relevant lines covered (91.6%)

0.92 hits per line

Coverage Regressions

Lines Coverage ∆ File
11
95.32
0.0% zentral/contrib/santa/api_views.py
3
97.65
0.0% zentral/contrib/monolith/api_views.py
1
99.05
0.07% zentral/utils/drf.py
Jobs
ID Job ID Ran Files Coverage
1 43047432480.1 11 Nov 2026 03:30PM UTC 1069
91.6
GitHub Action Run
Source Files on build 43047432480
  • Tree
  • List 1069
  • Changed 7
  • Source Changed 7
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43047432480
  • 554116e5 on github
  • Prev Build on main (#43013847730)
  • Next Build on main (#43629766648)
  • Delete
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