elixir-cloud-aai / drs-filer

Lightweight, flexible Flask/Gunicorn-based GA4GH DRS implementation
Apache License 2.0
5 stars 8 forks source link

test: add integration tests #40

Open akash2237778 opened 3 years ago

akash2237778 commented 3 years ago

Description

Added Integration tests that test the functionality of each endpoint.

Fixes #39

akash2237778 commented 3 years ago

Made required changes. But still not sure about tests for response 400, although added for POST /objects and POST /service-info. Some endpoints never return response 400 e.g. server.py.

I think there is a need to add tests for response 404 at DELETE /objects/{object_id}/access/{access_id} and DELETE /objects/{object_id} endpoints too.