Clinical-Genomics / loqusdbapi

A simple REST api for loqusdb
2 stars 0 forks source link

Increase test coverage #27

Open northwestwitch opened 2 years ago

northwestwitch commented 2 years ago

So far the poor thing is not really tested..

henrikstranneheim commented 2 years ago

The endpoint are quite easy to test using fastapi: https://fastapi.tiangolo.com/tutorial/testing/

See for instance: https://github.com/Clinical-Genomics/atlas/blob/master/tests/api/endpoints/test_documents.py for an example.