How can I follow an HTTP redirect?
I have 2 different views that seem to work on their own. But when I try to use them together with a http redirect then that fails.
pytest Database access not allowed
I am trying to run my tests with access to an existing database to reuse it.
How to assert an exception that is logged and is not affecting the Response
I’m testing an API that can raise an exception, but eventually returns a response based on other calculations, not related to the exception that is raised (it only logs the exception):