diff options
| author | Vo Minh Thu <vmt@openerp.com> | 2011-09-30 17:15:33 +0200 |
|---|---|---|
| committer | Vo Minh Thu <vmt@openerp.com> | 2011-09-30 17:15:33 +0200 |
| commit | 106e8d48dae800f3b56f8816ec5c46933f4e9a1f (patch) | |
| tree | 42ea558eeef60a1999654ab6e982227d50fc9bb0 /tests/test_xmlrpc.py | |
| parent | 1381ac139ed33e858ae6af34f61d04becbcc06bf (diff) | |
| parent | 6d70751dd7379dbabbfe2272b6ec4e7c32ca47ba (diff) | |
[MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110930151533-7mhnk5bbtwx0rjjq
Diffstat (limited to 'tests/test_xmlrpc.py')
| -rw-r--r-- | tests/test_xmlrpc.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/test_xmlrpc.py b/tests/test_xmlrpc.py index 35ba07b940a..5cace01c9a9 100644 --- a/tests/test_xmlrpc.py +++ b/tests/test_xmlrpc.py @@ -24,7 +24,7 @@ tearDownModule = common.tearDownModule class test_xmlrpc(unittest2.TestCase): - def test_xmlrpc_create_database_polling(self): + def test_00_xmlrpc_create_database_polling(self): """ Simulate a OpenERP client requesting the creation of a database and polling the server until the creation is complete. @@ -52,6 +52,13 @@ class test_xmlrpc(unittest2.TestCase): 'ir.model', 'search', [], {}) assert ids + def test_xmlrpc_61_ir_model_search(self): + """ Try a search on the object service. """ + ids = common.model_proxy_61.execute(ADMIN_USER_ID, ADMIN_PASSWORD, 'ir.model', 'search', []) + assert ids + ids = common.model_proxy_61.execute(ADMIN_USER_ID, ADMIN_PASSWORD, 'ir.model', 'search', [], {}) + assert ids + if __name__ == '__main__': unittest2.main() |
