Skip to content

Commit

Permalink
Merge PR #466 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by simahawk
  • Loading branch information
OCA-git-bot committed Aug 17, 2023
2 parents a7c7362 + a5e3da1 commit 2e436ab
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions component/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html)

import copy
import unittest
from contextlib import contextmanager

import odoo
Expand Down Expand Up @@ -82,7 +81,7 @@ def setUp(self):
)


class ComponentRegistryCase(unittest.TestCase, common.MetaCase("DummyCase", (), {})):
class ComponentRegistryCase:
"""This test case can be used as a base for writings tests on components
This test case is meant to test components in a special component registry,
Expand Down Expand Up @@ -209,11 +208,5 @@ def tearDownClass(cls):
# pylint: disable=W8106
@classmethod
def setUpClass(cls):
# resolve an inheritance issue (common.TransactionCase does not use
# super)
common.TransactionCase.setUpClass()
super().setUpClass()
cls.collection = cls.env["collection.base"]

@classmethod
def tearDownClass(cls):
common.TransactionCase.tearDownClass()

0 comments on commit 2e436ab

Please sign in to comment.