infn-datacloud / federation-registry

Python web application providing public REST API to inspect the configurations of the providers registered into the DataCloud project
Apache License 2.0
0 stars 1 forks source link

Broken tests #7

Open giosava94 opened 8 months ago

giosava94 commented 8 months ago

Currently, tests are broken. Starting from neomodel objects up to fastapi REST calls. Proposal, create a neo4j simple emulator mocking the data stored in db easing the usage of the function mocking the cypher_query call.

giosava94 commented 7 months ago

The neomodel simulator has been created and tests on models and basic schemas have been updated. Currently we are working on updating the tests related to extended schemas.

giosava94 commented 7 months ago

Add the possibility to run tests on a mock DB or an a real instance