summaryrefslogtreecommitdiff
path: root/addons/document_ftp/test/document_ftp_test2.yml
diff options
context:
space:
mode:
authoruco (OpenERP) <uco@tinyerp.com>2010-12-06 18:41:02 +0530
committeruco (OpenERP) <uco@tinyerp.com>2010-12-06 18:41:02 +0530
commitb1cf433ecc01a58c8abe27fdf9dbaba2deedf7f5 (patch)
tree7d4b2df75b76c3529854cf98c401ad59370ce00a /addons/document_ftp/test/document_ftp_test2.yml
parenteb04af83f31615e220a1b5e9639e799eb88242d6 (diff)
parent5350ab0c1930e6573ee52bd430bb1d0f5adea2a3 (diff)
[MERGE]: Merged with trunk-addons.
bzr revid: uco@tinyerp.com-20101206131102-z2xzz8eshkswo00q
Diffstat (limited to 'addons/document_ftp/test/document_ftp_test2.yml')
-rw-r--r--addons/document_ftp/test/document_ftp_test2.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/document_ftp/test/document_ftp_test2.yml b/addons/document_ftp/test/document_ftp_test2.yml
index 5da4bcd83ef..872456e7191 100644
--- a/addons/document_ftp/test/document_ftp_test2.yml
+++ b/addons/document_ftp/test/document_ftp_test2.yml
@@ -271,6 +271,19 @@
for i in range(0, 200):
ftp.delete('test-name%s.txt' %i)
ftp.close()
+
+-
+ I delete the "test.txt" and "test-renamed.txt" file
+-
+ !python {model: ir.attachment}: |
+ from document_ftp import test_easyftp as te
+ from cStringIO import StringIO
+ ftp = te.get_ftp_folder(cr, uid, self, 'Documents')
+ # TODO speed
+ ftp.delete('test.txt')
+ ftp.delete('test-renamed.txt')
+ ftp.close()
+
-
I remove the 'Test-Folder2'
-