'All storage engines except MyISAM support transactions.'

def test_supports_transactions(self):

    with mock.patch('django.db.connection.features._mysql_storage_engine', 'InnoDB'):
        self.assertTrue(connection.features.supports_transactions)
    del connection.features.supports_transactions
    with mock.patch('django.db.connection.features._mysql_storage_engine', 'MyISAM'):
        self.assertFalse(connection.features.supports_transactions)
    del connection.features.supports_transactions
