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

FlexMeasures / flexmeasures / 15657318002 / 1
74%
main: 74%

Build:
DEFAULT BRANCH: main
Ran 15 Jun 2025 12:04AM UTC
Files 311
Run time 8s
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

14 Jun 2025 11:56PM UTC coverage: 71.749% (+0.004%) from 71.745%
15657318002.1

push

github

web-flow
Expand can_modify_role util function to cover which user is modified - improving authorization checks (#1517)

* refactor: explan can_modify_role util function to cover more validation cases

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* fix: fixed issue with failing test

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* refactor: removed extra conditions

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* refactor: made util function more conscise

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* ref: avoiding double negatives in util function

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* refactor: re order conditional checks

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>

* remove not needed braces

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

* remove unneeded check for admin role change (cannot be changed here) and improve docstring

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

* add changelog entry

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

* turns out the admin-reader check (to allow admins to change them) was not needed

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

---------

Signed-off-by: joshuaunity <oghenerobojosh01@gmail.com>
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Co-authored-by: Nicolas Höning <nicolas@seita.nl>

1123 of 1724 branches covered (65.14%)

Branch coverage included in aggregate %.

17054 of 23610 relevant lines covered (72.23%)

0.72 hits per line

Source Files on job 15657318002.1
  • Tree
  • List 311
  • Changed 125
  • Source Changed 2
  • Coverage Changed 125
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 15657318002
  • 23dcfcca on github
  • Prev Job for on main (#15639046794.4)
  • Next Job for on main (#15683100765.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