diff options
author | romgar <romain.garrigues.cs@gmail.com> | 2016-11-07 22:08:40 +0000 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2018-11-06 16:57:50 -0500 |
commit | b3b1d3d45fc066367f4fcacf0b06f72fcd00a9c6 (patch) | |
tree | d6e9a8846da45a0afe642a2957f2ed7dbf286336 /tests/basic/tests.py | |
parent | ecac6d7a2a510cb0a5d772deeca633c99c9687e5 (diff) | |
download | django-b3b1d3d45fc066367f4fcacf0b06f72fcd00a9c6.tar.gz |
Fixed #25251 -- Made data migrations available in TransactionTestCase when using --keepdb.
Data loaded in migrations were restored at the beginning of each
TransactionTestCase and all the tables are truncated at the end of
these test cases. If there was a TransactionTestCase at the end of
the test suite, the migrated data weren't restored in the database
(especially unexpected when using --keepdb). Now data is restored
at the end of each TransactionTestCase.
Diffstat (limited to 'tests/basic/tests.py')
0 files changed, 0 insertions, 0 deletions