mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #35967 -- Deprecated BaseDatabaseCreation.create_test_db(serialize).
Given there are no longer any internal usages of serialize=True and it poses a risk to non-test databases integrity it seems appropriate to deprecate it.
This commit is contained in:
committed by
Mariusz Felisiak
parent
99ac8e2589
commit
2d34ebe49a
@@ -931,7 +931,7 @@ class SetupDatabasesTests(unittest.TestCase):
|
||||
with mock.patch("django.test.utils.connections", new=tested_connections):
|
||||
self.runner_instance.setup_databases()
|
||||
mocked_db_creation.return_value.create_test_db.assert_called_once_with(
|
||||
verbosity=0, autoclobber=False, serialize=False, keepdb=False
|
||||
verbosity=0, autoclobber=False, keepdb=False
|
||||
)
|
||||
mocked_db_creation.return_value.serialize_db_to_string.assert_called_once_with()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user