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

FlexMeasures / flexmeasures / 21213226020
78%

Build:
DEFAULT BRANCH: main
Ran 21 Jan 2026 02:35PM UTC
Jobs 4
Files 172
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

21 Jan 2026 02:26PM UTC coverage: 78.17% (+0.02%) from 78.147%
21213226020

push

github

web-flow
Fix/return validation errors instead of db errors (#1923)

* feat: test whether all Marshmallow Field subclasses in FlexMeasures that override
    _deserialize() call super()._deserialize()

Signed-off-by: F.N. Claessen <felix@seita.nl>

* fix: ensure that all Marshmallow Field subclasses in FlexMeasures that override
    _deserialize() call super()._deserialize()

Signed-off-by: F.N. Claessen <felix@seita.nl>

* feat: cover only fields that actually query the db as part of their _deserialize method

Signed-off-by: F.N. Claessen <felix@seita.nl>

* refactor: streamline obj/data argument names with those of the superclass methods

Signed-off-by: F.N. Claessen <felix@seita.nl>

* refactor: streamline value argument name with that of the superclass methods

Signed-off-by: F.N. Claessen <felix@seita.nl>

* feat: add more clarity using type annotations

Signed-off-by: F.N. Claessen <felix@seita.nl>

* refactor: superclass _deserialize also uses value as its first argument

Signed-off-by: F.N. Claessen <felix@seita.nl>

* refactor: no need to rename classes upon import

Signed-off-by: F.N. Claessen <felix@seita.nl>

* style: mypy

Signed-off-by: F.N. Claessen <felix@seita.nl>

* fix: set required=False rather than load_default=None

Signed-off-by: F.N. Claessen <felix@seita.nl>

* refactor: update argument names of _deserialize and _serialize in other fields, too

Signed-off-by: F.N. Claessen <felix@seita.nl>

* fix: arguments are now optional

Signed-off-by: F.N. Claessen <felix@seita.nl>

* delete: empty module

Signed-off-by: F.N. Claessen <felix@seita.nl>

* refactor: the exact same JSON field was defined twice

Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: changelog entries

Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: fix typo

Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: missing punctuation

Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: fix typo

Signed-off-by: F.N. Claessen <felix@seita.nl>

* fix: prevent pre-c... (continued)

1591 of 2094 branches covered (75.98%)

Branch coverage included in aggregate %.

60 of 66 new or added lines in 12 files covered. (90.91%)

7 existing lines in 2 files now uncovered.

11096 of 14136 relevant lines covered (78.49%)

6.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.74
0.36% flexmeasures/api/common/schemas/sensors.py
1
91.4
-0.23% flexmeasures/data/schemas/generic_assets.py
2
88.89
1.01% flexmeasures/api/common/schemas/users.py
2
74.07
1.0% flexmeasures/data/schemas/account.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
68.09
-0.49% flexmeasures/app.py
6
91.55
-2.82% flexmeasures/utils/unit_utils.py
Jobs
ID Job ID Ran Files Coverage
1 21213226020.1 21 Jan 2026 02:35PM UTC 334
78.28
GitHub Action Run
2 21213226020.2 21 Jan 2026 02:35PM UTC 334
78.24
GitHub Action Run
3 21213226020.3 21 Jan 2026 02:35PM UTC 334
78.32
GitHub Action Run
4 21213226020.4 21 Jan 2026 02:36PM UTC 334
78.32
GitHub Action Run
Source Files on build 21213226020
  • Tree
  • List 172
  • Changed 13
  • Source Changed 13
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21213226020
  • 70272480 on github
  • Prev Build on main (#21206357860)
  • Next Build on main (#21218321347)
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