2024-04-01 15:21:42 -04:00
|
|
|
from odoo.tests import TransactionCase, tagged
|
|
|
|
|
from odoo.addons.bemade_utils import patch_test
|
2024-03-12 14:16:40 -04:00
|
|
|
|
|
|
|
|
|
2024-04-01 15:21:42 -04:00
|
|
|
@tagged("-at_install", "post_install")
|
2024-03-12 14:16:40 -04:00
|
|
|
class TestA(TransactionCase):
|
|
|
|
|
@classmethod
|
|
|
|
|
def setUpClass(cls):
|
|
|
|
|
super().setUpClass()
|
|
|
|
|
|
|
|
|
|
def test_method_a(self):
|
|
|
|
|
self.assertFalse(True)
|
|
|
|
|
|
|
|
|
|
|
2024-03-12 14:28:14 -04:00
|
|
|
@patch_test(TestA.test_method_a)
|
|
|
|
|
def test_redefining_test(self):
|
|
|
|
|
self.assertTrue(True)
|