mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-21 03:12:10 +02:00
19.0 vanilla
This commit is contained in:
parent
0a7ae8db93
commit
991d2234ca
416 changed files with 646602 additions and 300844 deletions
|
|
@ -16,11 +16,11 @@ to minimise the code to maintain
|
|||
import logging
|
||||
import sys
|
||||
|
||||
import odoo
|
||||
from . import case
|
||||
from .common import HttpCase
|
||||
from .result import stats_logger
|
||||
from unittest import util, BaseTestSuite, TestCase
|
||||
from odoo.modules import module
|
||||
|
||||
__unittest = True
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ class TestSuite(BaseTestSuite):
|
|||
if result.shouldStop:
|
||||
break
|
||||
assert isinstance(test, (TestCase))
|
||||
module.current_test = test
|
||||
odoo.modules.module.current_test = test
|
||||
self._tearDownPreviousClass(test, result)
|
||||
self._handleClassSetUp(test, result)
|
||||
result._previousTestClass = test.__class__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue