flexmeasures icon indicating copy to clipboard operation
flexmeasures copied to clipboard

Automated tests for sensor views

Open Flix6x opened this issue 2 years ago • 0 comments

As pointed out in PR https://github.com/SeitaBV/flexmeasures/pull/223, we need to add tests for our sensor views (see ui.views.sensors.SensorUI), for example, in a new test_sensor_crud.py. This may require mock API responses, as we did earlier in test_asset_crud.py.

We currently have only one sensor page which shows a chart. Editing is possible in the API, but not supported in the UI (see #434), so there would not be as much work as for assets (for now).

Flix6x avatar Oct 26 '21 11:10 Flix6x