[MIG] base_external_dbsource_mysql: Migration to 16.0

This commit is contained in:
David Alonso // Solvos
2023-08-28 18:39:47 +02:00
parent 214fc72f8d
commit 33de09e95b
2 changed files with 6 additions and 5 deletions

View File

@@ -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",

View File

@@ -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"""