Commit Graph

2 Commits

Author SHA1 Message Date
Xavier Morel 3b3494b27e [FIX] rooted application menus incorrectly, fixed tests
bzr revid: xmo@openerp.com-20110321154034-tqd03u8u7tpxm5vc
2011-03-21 16:40:34 +01:00
Xavier Morel 3d02b3f804 [ADD] tests for base.controllers.main.Menu.load
* Make model factory pluggable in OpenERPSession (so it's possible to mock the models handler)
* Split load between the JSON-RPC handler and the actual logic
* Add some docstring to Menu.do_load

bzr revid: xmo@openerp.com-20110321104735-9hmrsyoccueya9fh
2011-03-21 11:47:35 +01:00