Changes between Initial Version and Version 1 of Ticket #34523, comment 8


Ignore:
Timestamp:
Apr 27, 2023, 9:50:41 AM (19 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34523, comment 8

    initial v1  
    22
    33I'm curious as to whether you run into the same issue by making your `TransactionManagementErrorTest` testcase extend `TransationTestCase` instead of `TestCase`. I would expect `transaction.atomic` to be a noop when the backend doesn't support transactions so I wouldn't be surprised if there was an issue with nested `atomic` blocks on such backends as they also don't support savepoints by definition (Remember that `TestCase` wraps each tests in an outer `atomic` block).
     4
     5I don't see why a `TransactionManagementError` is raised in the first place when `atomic` is meant to be a noop as there are no transactions to manage.
Back to Top