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

FlexMeasures / flexmeasures / 17556339436
74%

Build:
DEFAULT BRANCH: main
Ran 08 Sep 2025 03:50PM UTC
Jobs 4
Files 157
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

08 Sep 2025 03:43PM UTC coverage: 72.705% (-0.05%) from 72.753%
17556339436

push

github

web-flow
Chore: stop using our API internally (#1683)

* stop using InternalApi() on account page

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

* we forgot to include the account API in the docs

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

* add more spellings I don't want redlined

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

* move endpoint logic for assets (create, patch, delete) into services

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

* UI views for assets stop calling the API internally

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

* remove mock API calls from asset UI tests, reorder: create asset test before edit test

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

* remove two functions we don't need no longer

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

* fix calls to renamed test function

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

* User views do not call InternalAPI, not only admins can now visit the page for a user, one new service utility now shared by API and UI views, removed mocks from tests

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

* add changelog entry

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

* actually remove InternalApi class

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

* no need (and misleading) to call check_access() in render_user(). Both functions which use this already do their own check_access() call.

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

---------

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

1233 of 1829 branches covered (67.41%)

Branch coverage included in aggregate %.

86 of 110 new or added lines in 8 files covered. (78.18%)

7 existing lines in 5 files now uncovered.

8958 of 12188 relevant lines covered (73.5%)

5.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
89.29
2.47% flexmeasures/ui/views/users/views.py
2
78.85
-2.82% flexmeasures/ui/views/accounts.py
9
76.6
flexmeasures/data/services/generic_assets.py
12
73.36
0.0% flexmeasures/ui/views/assets/views.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
69.01
-0.29% flexmeasures/data/models/time_series.py
1
93.28
-0.84% flexmeasures/data/services/utils.py
1
73.36
0.0% flexmeasures/ui/views/assets/views.py
2
68.0
-4.0% flexmeasures/auth/decorators.py
2
64.05
-1.24% flexmeasures/utils/time_utils.py
Jobs
ID Job ID Ran Files Coverage
1 17556339436.1 08 Sep 2025 03:50PM UTC 304
73.01
GitHub Action Run
2 17556339436.2 08 Sep 2025 03:51PM UTC 304
73.06
GitHub Action Run
3 17556339436.3 08 Sep 2025 03:52PM UTC 304
73.06
GitHub Action Run
4 17556339436.4 08 Sep 2025 03:52PM UTC 304
73.06
GitHub Action Run
Source Files on build 17556339436
  • Tree
  • List 157
  • Changed 14
  • Source Changed 10
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #17556339436
  • 363375ff on github
  • Prev Build on main (#17467159795)
  • Next Build on main (#17581902908)
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