django/tests/backends/base
Jon Dufresne 75410228df Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on PostgreSQL.
The sql_flush() positional argument sequences is replaced by the boolean
keyword-only argument reset_sequences. This ensures that the old
function signature can't be used by mistake when upgrading Django. When
the new argument is True, the sequences of the truncated tables will
reset. Using a single boolean value, rather than a list, allows making a
binary yes/no choice as to whether to reset all sequences rather than a
working on a completely different set.
2020-04-17 11:57:24 +02: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 Refs #31051 -- Fixed reloading the database with circular related objects and natural keys for tests. 2020-04-02 11:35:33 +02:00
test_features.py Switched TestCase to SimpleTestCase where possible in Django's tests. 2018-11-27 08:58:44 -05:00
test_introspection.py Fixed #31345 -- Added BaseDatabaseIntrospection.get_relations(). 2020-03-06 08:53:32 +01:00
test_operations.py Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on PostgreSQL. 2020-04-17 11:57:24 +02:00
test_schema.py Added BaseDatabaseSchemaEditor._effective_default() to allow testing without a connection. 2018-11-17 19:27:53 -05:00