Initial commit: OCA Technical packages (595 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:03 +02:00
commit 2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# Copyright 2023 ACSONE SA/NV
# License LGPL-3.0 or later (http://www.gnu.org/licenses/LGPL).
from odoo.addons.extendable.tests.common import ExtendableMixin
from odoo.addons.fastapi.tests.common import (
FastAPITransactionCase as BaseFastAPITransactionCase,
)
class FastAPITransactionCase(BaseFastAPITransactionCase, ExtendableMixin):
"""Base class for FastAPI tests using extendable classes."""
@classmethod
def setUpClass(cls) -> None:
super().setUpClass()
cls.init_extendable_registry()
cls.addClassCleanup(cls.reset_extendable_registry)