Add tests for core API endpoints
MichaelMackus opened this issue · 3 comments
MichaelMackus commented
We should add tests for the core API endpoints (i.e. /api/v1/
URLs). This way we can hopefully prevent BC breaks in the future.
francescou commented
I agree with you.
Do you have an idea about how to implement the unit tests?
I was thinking about something like this: https://github.com/kevana/ui-for-docker/blob/master/test/unit/app/components/statsController.spec.js
MichaelMackus commented
I was thinking more from the Python side, but I suppose it would make sense to test directly in angular/JS as well.
MichaelMackus commented
Flake8 could be useful in addition