[FIX] test ir_attachment: files are not directories

bzr revid: chs@openerp.com-20140116224207-m2s5ljkb1t7q54tk
This commit is contained in:
Christophe Simonis 2014-01-16 23:42:07 +01:00
parent c55079f112
commit 143f520395
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class test_ir_attachment(openerp.tests.common.TransactionCase):
a2_store_fname = self.ira.browse(cr, uid, a2).store_fname
self.assertEqual(a2_store_fname, self.blob1_fname)
self.assertTrue(os.path.isdir(os.path.join(self.filestore, a2_store_fname)))
self.assertTrue(os.path.isfile(os.path.join(self.filestore, a2_store_fname)))
def test_03_no_duplication(self):
registry, cr, uid = self.registry, self.cr, self.uid