Doc ftp: Fix yaml test to follow expected behaviour

The document.directory has the "resource_find_all" flag, which now
defaults to True and means that a new doc in a resource folder will
have the *root* Documents as a parent. Fix the test to expect that
behaviour.

bzr revid: p_christ@hol.gr-20100828141852-pyvd24rh1rptqf5f
This commit is contained in:
P. Christeas
2010-08-28 17:18:52 +03:00
parent 601804a87b
commit 8ed519b800
@@ -110,7 +110,7 @@
I check at the server that the file is attached to Partner1
-
!assert {model: ir.attachment, id: , search: "[('name','=','pat1-dynamic.txt')]" }:
- parent_id.name == 'Partners of Test'
- parent_id.name == 'Documents'
- res_model == 'res.partner'
- res_id != False
-