django/tests/backends/base
Matthijs Kooijman 98f23a8af0 Fixed #26552 -- Deferred constraint checks when reloading the database with data for tests.
deserialize_db_from_string() loads the full serialized database
contents, which might contain forward references and cycles. That
caused IntegrityError because constraints were checked immediately.

Now, it loads data in a transaction with constraint checks deferred
until the end of the transaction.
2020-02-14 13:18:06 +01:00
..
__init__.py Reorganized backends tests. 2017-06-21 12:00:47 -04:00
test_base.py Refs #28595 -- Added a hook to add execute wrappers for database queries. 2017-09-21 12:13:09 -04:00
test_creation.py Fixed #26552 -- Deferred constraint checks when reloading the database with data for tests. 2020-02-14 13:18:06 +01:00
test_features.py Switched TestCase to SimpleTestCase where possible in Django's tests. 2018-11-27 08:58:44 -05:00
test_operations.py Fixed typos in docs, comments, and exception messages. 2019-04-18 09:33:53 +02:00
test_schema.py Added BaseDatabaseSchemaEditor._effective_default() to allow testing without a connection. 2018-11-17 19:27:53 -05:00