summaryrefslogtreecommitdiff
path: root/odoo/tests/test_module_operations.py
diff options
context:
space:
mode:
Diffstat (limited to 'odoo/tests/test_module_operations.py')
-rwxr-xr-xodoo/tests/test_module_operations.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/odoo/tests/test_module_operations.py b/odoo/tests/test_module_operations.py
index 1ce9d4e3226..fca6dc274c4 100755
--- a/odoo/tests/test_module_operations.py
+++ b/odoo/tests/test_module_operations.py
@@ -5,14 +5,16 @@ import os
import sys
import time
+
sys.path.append(os.path.abspath(os.path.join(__file__,'../../../')))
import odoo
from odoo.tools import topological_sort, unique
from odoo.netsvc import init_logger
from odoo.tests import standalone_tests
+import odoo.tests.loader
-_logger = logging.getLogger('test_module_operations')
+_logger = logging.getLogger('odoo.tests.test_module_operations')
BLACKLIST = {
'auth_ldap', 'document_ftp', 'base_gengo', 'website_gengo', 'website_instantclick', 'pad',
@@ -119,7 +121,7 @@ def test_scripts(args):
registry = odoo.registry(args.database)
for module_name in registry._init_modules:
# import tests for loaded modules
- odoo.modules.module.get_test_modules(module_name)
+ odoo.tests.loader.get_test_modules(module_name)
# fetch and filter scripts to test
funcs = list(unique(