[IMP]: base: Improved test instead of test result in yml

bzr revid: rpa@tinyerp.com-20120719105733-dbcfv9mk0i7k2i5d
This commit is contained in:
Rucha (Open ERP)
2012-07-19 16:27:33 +05:30
parent b96b633af3
commit e7e5403143
@@ -15,8 +15,8 @@
Test hierarchical search in M2M with child ID2
-
!python {model: res.partner }: |
ids = self.search(cr, uid, [('category_id', 'child_of','Miscellaneous Suppliers')])
assert len(ids) == 0, ids
ids = self.search(cr, uid, [('category_id', 'child_of','Manufacturers')])
assert len(ids) == 2, ids
-
"1.0 Setup test partner categories: parent root"