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

FlexMeasures / flexmeasures / 42025884111
88%

Build:
DEFAULT BRANCH: main
Ran 05 Nov 2026 12:28PM UTC
Jobs 1
Files 195
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

05 Nov 2026 12:17PM UTC coverage: 87.733% (+0.01%) from 87.723%
42025884111

push

github

web-flow
Merge commit from fork

* check read permission for kpi sensors in relevant asset GET and PATCH endpoints

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

* api/v3_0/assets: answer invalid KPI input on POST with a 422, not a 500

POST /api/v3_0/assets let the ValidationError from the KPI check escape, where PATCH catches it.
The errors now also name the field, sensors_to_show_as_kpis.
Tests cover the POST path: another organisation's sensor gets a 403, and invalid entries get a 422.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DWv6v5ELzmj2eBM1L4GTBz
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* data/services/generic_assets: drop the local import of check_access

The module imports it at the top now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DWv6v5ELzmj2eBM1L4GTBz
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* tests: explain what each assertion in the KPI access tests is for

Also say where the window's 91.3 comes from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DWv6v5ELzmj2eBM1L4GTBz
Signed-off-by: F.N. Claessen <claessen@seita.nl>

---------

Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Signed-off-by: F.N. Claessen <claessen@seita.nl>
Co-authored-by: F.N. Claessen <claessen@seita.nl>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

33 of 35 new or added lines in 2 files covered. (94.29%)

23159 of 26397 relevant lines covered (87.73%)

0.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
90.11
-0.13% flexmeasures/api/v3_0/assets.py
Jobs
ID Job ID Ran Files Coverage
1 42025884111.1 05 Nov 2026 12:28PM UTC 195
87.73
GitHub Action Run
Source Files on build 42025884111
  • Tree
  • List 195
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42025884111
  • 9cb9b633 on github
  • Prev Build on main (#42018758001)
  • Next Build on main (#42037472322)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc