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

lucyparsons / OpenOversight / 6461278528
89%

Build:
DEFAULT BRANCH: develop
Ran 09 Oct 2023 08:18PM UTC
Jobs 1
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

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

Jobs
ID Job ID Ran Files Coverage
1 6461278528.1 09 Oct 2023 08:18PM UTC 0
89.39
GitHub Action Run
Source Files on build 6461278528
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #6461278528
  • cacdcec7 on github
  • Prev Build on develop (#6317387238)
  • Next Build on develop (#6923338888)
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