From 8ed519b800e284bc8a5e28251af6d7c4ee455e8f Mon Sep 17 00:00:00 2001 From: "P. Christeas" Date: Sat, 28 Aug 2010 17:18:52 +0300 Subject: [PATCH] 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 --- addons/document_ftp/test/document_ftp_test4.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/document_ftp/test/document_ftp_test4.yml b/addons/document_ftp/test/document_ftp_test4.yml index 9c3baed..eeed4b1 100644 --- a/addons/document_ftp/test/document_ftp_test4.yml +++ b/addons/document_ftp/test/document_ftp_test4.yml @@ -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 - -- 1.7.10.4