[FIX] corrected a test giving warning from the previous merge.

bzr revid: vmt@openerp.com-20110624133216-9mxlte0jydnz74sb
This commit is contained in:
Vo Minh Thu 2011-06-24 15:32:16 +02:00
parent 48e5f7b773
commit 9744cb085f
1 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,12 @@
-
!python {model: res.partner.category }: |
ids = self.search(cr, uid, [('id', 'child_of',[ref('categ_0')])])
assert len(ids) == 2, ids
-
Test hierarchical search in M2M with child IDs
-
!python {model: res.partner.category }: |
ids = self.search(cr, uid, [('id', 'child_of',[ref('categ_1')])])
assert len(ids) == 1, ids
-
Testing that some domain expressions work