这是indexloc提供的服务,不要输入任何密码
Skip to content

Transaction Behavior is Wrong #1457

@stephenprater

Description

@stephenprater

Describe the bug
Using the transaction async context manager in a pytest transaction does not rollback the transaction.

To Reproduce
Exactly as in this linked discussion

Expected behavior
The transaction should be rolled back.

This might not be Ormar's bug - but this is 100% not the expected behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions