Commit d1af721b authored by Nicolas Delaby's avatar Nicolas Delaby

get_size return data size not base_data size

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35334 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c9c100c4
......@@ -566,7 +566,7 @@ class TestDocument(TestDocumentMixin):
# test get_size on temporary OOoDocument
from Products.ERP5Type.Document import newTempOOoDocument
doc = newTempOOoDocument(self.portal, 'tmp')
doc.edit(base_data='OOo')
doc.edit(data='OOo')
self.assertEquals(len('OOo'), doc.get_size())
def testOOoDocument_hasData(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment