refactor: swap provider overriding for mocks
What does this merge request do and why?
refactor: swap provider overriding for mocks
In #511 (closed) we decided to move away from Provider overriding (https://python-dependency-injector.ets-labs.org/providers/overriding.html) since it's prone to hiding runtime bugs. We switch instead to relying on unittest.mock to simulate calls to 3rd party models in tests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed.