fenya123 / forum123

Flask application written for educational purposes.
http://193.124.115.171/
1 stars 1 forks source link

155: Add test for api/users endpoints #160

Closed EugeneTurkin closed 1 year ago

EugeneTurkin commented 1 year ago

We want to cover our REST API part of the codebase with unit-tests.

In the scope of this task we need to cover code which is working with users in our REST API.


Since our REST API doesn't have registration functionality and doesn't work with cookie-sessions, the following methods are used only in ssr part of the application and we excluded them from coverage via # pragma: no cover: