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

FlexMeasures / flexmeasures / 15657318002
74%

Build:
DEFAULT BRANCH: main
Ran 15 Jun 2025 12:04AM UTC
Jobs 5
Files 160
Run time 2min
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: 67.266% (-3.1%) from 70.328%
15657318002

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>

4059 of 6984 branches covered (58.12%)

Branch coverage included in aggregate %.

15 of 15 new or added lines in 2 files covered. (100.0%)

8688 of 11966 relevant lines covered (72.61%)

7.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15657318002.1 15 Jun 2025 12:04AM UTC 311
71.75
GitHub Action Run
2 15657318002.2 15 Jun 2025 12:04AM UTC 311
71.78
GitHub Action Run
3 15657318002.3 15 Jun 2025 12:04AM UTC 311
71.78
GitHub Action Run
4 15657318002.4 15 Jun 2025 12:04AM UTC 311
71.78
GitHub Action Run
5 15657318002.5 15 Jun 2025 12:06AM UTC 320
69.34
GitHub Action Run
Source Files on build 15657318002
  • Tree
  • List 160
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15657318002
  • 23dcfcca on github
  • Prev Build on 1352-scale-sensors-data-for-multiple-graphs-chart (#15639046794)
  • Next Build on main (#15683100765)
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