Skip to content

AuthTestApp Can't Be Used as a Context Manager #176

@calebsyring

Description

@calebsyring

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions