summaryrefslogtreecommitdiff
path: root/addons/document_ftp/test
diff options
context:
space:
mode:
authorP. Christeas <p_christ@hol.gr>2010-08-28 17:18:52 +0300
committerP. Christeas <p_christ@hol.gr>2010-08-28 17:18:52 +0300
commit8ed519b800e284bc8a5e28251af6d7c4ee455e8f (patch)
tree25b5a93fcb75b82e126ff3cfbad869582b3aa0e9 /addons/document_ftp/test
parent601804a87ba2af5da9a8d5f2f7d6e12ee19039c7 (diff)
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
Diffstat (limited to 'addons/document_ftp/test')
-rw-r--r--addons/document_ftp/test/document_ftp_test4.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document_ftp/test/document_ftp_test4.yml b/addons/document_ftp/test/document_ftp_test4.yml
index 9c3baed0844..eeed4b17dda 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
-