3 ms·
How does that work when the system under test uses transactions itself?
by dkdbejwi383 3y ago
How does that work when the system under test uses transactions itself?
- simonw 3y agoA lot of databases these days support nested transactions using savepoints, which Django's test framework can take advantage of. There's a separate mechanism for writing tests where you need to explicitly test transaction mechanics: https://docs.djangoproject.com/en/5.0/topics/testing/tools/#django.test.TransactionTestCase https://docs.djangoproject.com/en/5.0/topics/testing/tools/#...