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

unioslo / mreg / 12195722899
98%

Build:
DEFAULT BRANCH: master
Ran 06 Dec 2024 08:51AM UTC
Jobs 3
Files 89
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

06 Dec 2024 08:46AM UTC coverage: 99.013% (+0.7%) from 98.3%
12195722899

push

github

web-flow
Further coverage fixes, now with mocks. (#568)

* Replace a few no-cover pragmas with mocks.
* Use log.exception to log exceptions.
  - Also set exc_info=True to ensure structlog deals with the stack trace.
* Updates for new user model, also add trivial 401 checks for hostpolicy endpoints.
* Only fetch user after `IsAuthenticated.has_permission()` has been called.
  - This is mostly due a coverage fix with the way IsAuthenticated is implemented the same way as the raising of NotAuthenticated in User.from_request.
* Make it so illegal CIDRs in range queries return 400/Bad request instead of empty results.
* Test put disallowed, add explicit toml support for coverage.
* Support `pragma: no cover` again.
* no cover-pragmas for settings.py.

83 of 84 new or added lines in 8 files covered. (98.81%)

2 existing lines in 1 file now uncovered.

7523 of 7598 relevant lines covered (99.01%)

2.97 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.97
0.06% mreg/api/v1/filters.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
96.92
-3.08% mreg/models/auth.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.12 - 12195722899.1 06 Dec 2024 08:51AM UTC 89
99.01
GitHub Action Run
2 python-3.11 - 12195722899.2 06 Dec 2024 08:51AM UTC 89
99.01
GitHub Action Run
3 python-3.10 - 12195722899.3 06 Dec 2024 08:51AM UTC 89
99.01
GitHub Action Run
Source Files on build 12195722899
  • Tree
  • List 89
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cee5c16d on github
  • Prev Build on master (#12047683693)
  • Next Build on master (#12198654936)
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

© 2025 Coveralls, Inc