﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
20392	Rearrange transactional behavior in django.test.TestCase: savepoints around tests	Raphaël Barrois	Tim Graham <timograham@…>	"Leveraging aaugustin's work on `atomic()`, this patch modifies the behavior of `django.test.TestCase`:

* A transaction is opened during `setUpClass` (one atomic per database)
* That transaction is closed during `tearDownClass`
* The database connection is no longer closed after each test function

This allows to create objects and complex state in `setUpClass`, and reuse it through all test functions,
without inter-test conflicts.

This could lead to a single load of fixtures during `setUpClass` (instead of the current `setUp`), thus improving test speed."	New feature	closed	Testing framework	dev	Normal	fixed	test atomic savepoint	Simon Charette loic84 mmanfre@… mathieu.agopian@… josh.smeaton@… t.chaumeny@…	Accepted	1	0	0	0	0	0
