Skip to content

1.2.2

Choose a tag to compare

@krylosov-aa krylosov-aa released this 20 Nov 18:23
· 71 commits to main since this release

The library provides several ready-made utils that can be used in tests,
for example in fixtures. It helps write tests that share a common transaction
between the test and the application, so data isolation between tests is
achieved through fast transaction rollback.

You can see the capabilities in the examples:

Here are tests with a common transaction between the
application and the tests.

And here's an example with different transactions.

https://pypi.org/project/context-async-sqlalchemy/1.2.2/