mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[MIG] base_external_dbsource_mysql: Migration to 16.0
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
|
||||
{
|
||||
"name": "External Database Source - MySQL",
|
||||
"version": "15.0.1.0.0",
|
||||
"version": "16.0.1.0.0",
|
||||
"category": "Tools",
|
||||
"author": "Daniel Reis, LasLabs, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/server-backend",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Copyright 2016 LasLabs Inc.
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
from odoo.tests import common
|
||||
|
||||
@@ -10,9 +10,10 @@ ADAPTER = (
|
||||
|
||||
|
||||
class TestBaseExternalDbsource(common.TransactionCase):
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
self.dbsource = self.env.ref("base_external_dbsource_mysql.demo_mysql")
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
cls.dbsource = cls.env.ref("base_external_dbsource_mysql.demo_mysql")
|
||||
|
||||
def test_connection_close_mysql(self):
|
||||
"""It should close the connection"""
|
||||
|
||||
Reference in New Issue
Block a user