Test for the project using OmegaML
I was preparing some tests for endpoints inside our Project, which is using OmegaML.
In order to test the flow of creating or getting the datasets from the DB, it would be nice to fake the connection to the MongoDB - to not use our original local DB.
As all of such requests are made through the OmagaML, like:
I was wondering, what is the best approach to handle it.
The main question is:
How can I provide configs to Omega(), like OMEGA_MONGO_URL, to link my fake connected MondoBD and not using the original OmagaML connection?
In order to make a call like:
to my fake DB.