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

lucyparsons / OpenOversight / 6461278528 / 1
89%
develop: 89%

Build:
DEFAULT BRANCH: develop
Ran 09 Oct 2023 08:18PM UTC
Files 94
Run time 2s
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

09 Oct 2023 08:13PM UTC coverage: 89.387% (+0.03%) from 89.357%
6461278528.1

push

github

web-flow
Make url_for work with all endpoints  (#1070)

## Description of Changes
Some of the `ModelView` based endpoints were missing a distinct name
that could be used for `url_for`, and instead string concatenation was
used (mostly in templates). I also moved some logic out of templates
(e.g. calculation of total pay), added helper methods and made some
other changed to reduce the code needed in the templates and improve
readability a little bit.

I also added an anonymous user class that is useful to call things like
`.is_admin_or_coordinator(department)` on any `current_user` object,
without first making sure the user is not anonymous.

## Tests and linting
 - [x] This branch is up-to-date with the `develop` branch.
 - [x] `pytest` passes on my local development environment.
 - [x] `pre-commit` passes on my local development environment.

8456 of 9460 relevant lines covered (89.39%)

0.89 hits per line

Source Files on job 6461278528.1
  • Tree
  • List 0
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6461278528
  • cacdcec7 on github
  • Prev Job for on develop (#6317387238.1)
  • Next Job for on develop (#6923338888.1)
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