[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). # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
{ {
"name": "External Database Source - MySQL", "name": "External Database Source - MySQL",
"version": "15.0.1.0.0", "version": "16.0.1.0.0",
"category": "Tools", "category": "Tools",
"author": "Daniel Reis, LasLabs, Odoo Community Association (OCA)", "author": "Daniel Reis, LasLabs, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/server-backend", "website": "https://github.com/OCA/server-backend",

View File

@@ -1,6 +1,6 @@
# Copyright 2016 LasLabs Inc. # Copyright 2016 LasLabs Inc.
import mock from unittest import mock
from odoo.tests import common from odoo.tests import common
@@ -10,9 +10,10 @@ ADAPTER = (
class TestBaseExternalDbsource(common.TransactionCase): class TestBaseExternalDbsource(common.TransactionCase):
def setUp(self): @classmethod
super().setUp() def setUpClass(cls):
self.dbsource = self.env.ref("base_external_dbsource_mysql.demo_mysql") super().setUpClass()
cls.dbsource = cls.env.ref("base_external_dbsource_mysql.demo_mysql")
def test_connection_close_mysql(self): def test_connection_close_mysql(self):
"""It should close the connection""" """It should close the connection"""