Skip to content

Test case using transaction aren't isolated on the non default databases #286

Closed
@xordoquy

Description

@xordoquy

This is a regression I have with pytest-django 2.9 - doesn't happen with 2.8. Django is 1.7.1, py.test 2.8.2 and Python 3.4.
Some of my tests are using transactions and aren't run in isolation to each other any longer. They are part of a unittest.TestCase.
Performing a git bisect, the commit 0ec741b seems to introduce the regression.

This is probably due to the fact that it now only applies rollbacks to Django TestCase and no more with unittest's ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions