Flask documentation says that you should use the test client as a context manager for accessing values in the session after a request. Trying to do that currently results in an error because AuthTestApp does not define __enter__. session_transaction still works and can be used as a workaround.
Flask documentation says that you should use the test client as a context manager for accessing values in the session after a request. Trying to do that currently results in an error because
AuthTestAppdoes not define__enter__.session_transactionstill works and can be used as a workaround.