summaryrefslogtreecommitdiff
path: root/addons/document_ftp/test/document_ftp_test4.yml
diff options
context:
space:
mode:
authorP. Christeas <p_christ@hol.gr>2010-06-29 17:00:49 +0300
committerP. Christeas <p_christ@hol.gr>2010-06-29 17:00:49 +0300
commit4d99b09045d55fc56bab863c7cbfbfe8145b25c0 (patch)
tree8a7c2cfe3ea7ff937001d4fad0926c14b9fa6ee8 /addons/document_ftp/test/document_ftp_test4.yml
parent514f433c59e6778afad469a55d032e1e3da435a0 (diff)
Document, FTP: text skeleton of trivial yaml tests.
bzr revid: p_christ@hol.gr-20100629140049-dowvybyjh6bncyrb
Diffstat (limited to 'addons/document_ftp/test/document_ftp_test4.yml')
-rw-r--r--addons/document_ftp/test/document_ftp_test4.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/addons/document_ftp/test/document_ftp_test4.yml b/addons/document_ftp/test/document_ftp_test4.yml
new file mode 100644
index 00000000000..05ddef1c97b
--- /dev/null
+++ b/addons/document_ftp/test/document_ftp_test4.yml
@@ -0,0 +1,34 @@
+-
+ In order to check dynamic folder functionality of document + FTP
+-
+ I create two partners 'Partner1' and 'Partner2'
+-|
+ I create three partner categories: 'none', 'pat1' and 'all'
+ I attach Partner1 to pat1, Partner1+Partner2 to 'all'
+-
+ I create a resource folder of partners, by the (none, pat1, all)
+ categories.
+-
+ I browse through ftp in the resource folder, checking that three
+ categories are there.
+-
+ I create a 'partners' folder by the first resource one.
+-
+ I check through FTP that the correct partners are listed at each
+ 'partners' folder.
+-
+ I create an ir.attachment, attached (not related) to Partner1
+
+-
+ I check that pat1/Partner1 folder has the file.
+ I check that all/Partner1 folder has the file
+-
+ I place a file at the 'pat1'/Partner1 folder, through FTP
+-
+ I check at the server that the file is attached to Partner1
+-
+ I check that all/Partner1 also has the file
+- |
+ Bonus Piste:
+ I create a 'Partner3' under 'all'
+-