AbandonTech / abandonauth

An Authentic Auth Service...
GNU General Public License v3.0
4 stars 2 forks source link

Add initial FastAPI unit tests #86

Open fisher60 opened 6 months ago

fisher60 commented 6 months ago

Summary

We need to include unit tests for the backend. Eventually we would like to have all endpoints covered and most logic. For now, we simply need to create the initial tests and include some examples of how to structure tests and how to run via pytest.

Acceptance Criteria

  1. Demo tests exist for endpoints, "business logic", and models and can be run using pytest
  2. Pytest tests are executed as part of the build pipeline