summaryrefslogtreecommitdiff
path: root/openerp/modules/loading.py
diff options
context:
space:
mode:
authorchm@openerp.com <>2014-03-18 11:18:22 +0100
committerchm@openerp.com <>2014-03-18 11:18:22 +0100
commit9d026e3fe3fffeef29a1c0cf745499ae082bd79c (patch)
tree07daf4d2290a87d87b55089362cae3e02ef87f53 /openerp/modules/loading.py
parent96f744b2712fe0bd6f65ac93b4d347b1559123fc (diff)
parent788708563133720c2833fdf0f67515940f6d4cd9 (diff)
[MERGE] from trunk
bzr revid: chm@openerp.com-20140318101822-w616am661x8shfkd
Diffstat (limited to 'openerp/modules/loading.py')
-rw-r--r--openerp/modules/loading.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/openerp/modules/loading.py b/openerp/modules/loading.py
index 7ca0a6785d6..681d8534c05 100644
--- a/openerp/modules/loading.py
+++ b/openerp/modules/loading.py
@@ -187,6 +187,10 @@ def load_module_graph(cr, graph, status=None, perform_checks=True, skip_modules=
# Yamel test
report.record_result(load_test(module_name, idref, mode))
# Python tests
+ ir_http = registry['ir.http']
+ if hasattr(ir_http, '_routing_map'):
+ # Force routing map to be rebuilt between each module test suite
+ del(ir_http._routing_map)
report.record_result(openerp.modules.module.run_unit_tests(module_name, cr.dbname))
processed_modules.append(package.name)