You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be fantastic to create API mocks for all the services we use so that we can easily run tests. There's two ways I can see of doing this:
Create full, mocked webservers and just hotswap in the base API url. This is a lot of extra code but very easy to drop in to place.
Heavily refactor the service base in order to pytest-mock. This will be tough, but if implemented well will end up being much more flexible and require less additional code to sit around in the codebase.
The text was updated successfully, but these errors were encountered:
Would be fantastic to create API mocks for all the services we use so that we can easily run tests. There's two ways I can see of doing this:
pytest-mock
. This will be tough, but if implemented well will end up being much more flexible and require less additional code to sit around in the codebase.The text was updated successfully, but these errors were encountered: