mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed DatabaseFeatures.uses_savepoints/can_release_savepoints and related tests with MyISAM storage engine.
This commit is contained in:
@@ -11,6 +11,7 @@ class TestFeatures(TestCase):
|
||||
"""
|
||||
All storage engines except MyISAM support transactions.
|
||||
"""
|
||||
del connection.features.supports_transactions
|
||||
with mock.patch(
|
||||
"django.db.connection.features._mysql_storage_engine", "InnoDB"
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user