HTTP-APIs / hydrus

REST server - Flask Hydra-powered for Semantic Web
https://pypi.org/project/hydrus/
MIT License
195 stars 130 forks source link

Added functional tests for PUT/DELETE multiple class objects #591

Closed farazkhanfk7 closed 3 years ago

farazkhanfk7 commented 3 years ago

Fixes #586

Checklist

Current behaviour

We didn't had any tests for PUT/DELETE request for multiple Class objects in test_app.py. We do have some tests in test_crud.py, but we’re directly using functions from crud.py to test the behaviour and not making requests to the endpoints to check status codes. Also, there was some logical bug in an existing test, so I fixed it.

New expected behaviour

Change logs