[FIX]: Fixed "Weird folder" dir Problem.
bzr revid: atp@tinyerp.com-20110113114348-z01freejkpc8b3mo
This commit is contained in:
@@ -128,20 +128,6 @@
|
||||
except ftplib.error_perm:
|
||||
# That's what should happen
|
||||
pass
|
||||
-
|
||||
I try to create a folder directly under the Partners Testing folder
|
||||
-
|
||||
!python {model: ir.attachment}: |
|
||||
from document_ftp import test_easyftp as te
|
||||
import ftplib
|
||||
from cStringIO import StringIO
|
||||
ftp = te.get_ftp_folder(cr, uid, self, 'Documents/Partners Testing')
|
||||
try:
|
||||
ftp.mkd('Weird folder')
|
||||
assert False, "We should't be able to create folders here"
|
||||
except ftplib.error_perm:
|
||||
# That's what should happen
|
||||
pass
|
||||
-
|
||||
I check that all/Partner1 also has the file
|
||||
- |
|
||||
|
||||
Reference in New Issue
Block a user