Skip to content

Commit

Permalink
component_event: fix TestEventWorkContext exec
Browse files Browse the repository at this point in the history
Odoo test suite now requires some parameters provided by MetaCase to run.
  • Loading branch information
simahawk committed Sep 3, 2024
1 parent 0c160d3 commit 8a50311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions component_event/tests/test_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import mock

from odoo.tests.common import tagged
from odoo.tests.common import MetaCase, tagged

from odoo.addons.component.core import Component
from odoo.addons.component.tests.common import (
Expand All @@ -18,7 +18,7 @@


@tagged("standard", "at_install")
class TestEventWorkContext(unittest.TestCase):
class TestEventWorkContext(unittest.TestCase, MetaCase("DummyCase", (object,), {})):
"""Test Events Components"""

if sys.version_info < (3, 8):
Expand Down

0 comments on commit 8a50311

Please sign in to comment.