~openerp-dev/openobject-server/trunk-partner_reference_terms-ypa

« back to all changes in this revision

Viewing changes to openerp/addons/base/tests/test_uninstall.py

  • Committer: Richard Mathot (OpenERP)
  • Date: 2014-04-14 09:11:37 UTC
  • mfrom: (5120.1.60 origin/trunk)
  • Revision ID: rim@openerp.com-20140414091137-icatnn1humn7kisc
[MERGE] Sync with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    return openerp.modules.registry.RegistryManager.get(DB)[model]
14
14
 
15
15
def cursor():
16
 
    return openerp.modules.registry.RegistryManager.get(DB).db.cursor()
 
16
    return openerp.modules.registry.RegistryManager.get(DB).cursor()
17
17
 
18
18
def get_module(module_name):
19
19
    registry = openerp.modules.registry.RegistryManager.get(DB)