diff --git a/muk_attachment_lobject/__manifest__.py b/muk_attachment_lobject/__manifest__.py index ef49cc2..9e9b60a 100644 --- a/muk_attachment_lobject/__manifest__.py +++ b/muk_attachment_lobject/__manifest__.py @@ -20,7 +20,7 @@ { "name": "MuK Large Objects Attachment", "summary": """Large Objects Attachment Location""", - "version": '12.0.2.1.1', + "version": '12.0.2.1.2', "category": 'Extra Tools', "license": "AGPL-3", "website": "http://www.mukit.at", diff --git a/muk_attachment_lobject/tests/test_attachment.py b/muk_attachment_lobject/tests/test_attachment.py index aa2102c..7cf6481 100644 --- a/muk_attachment_lobject/tests/test_attachment.py +++ b/muk_attachment_lobject/tests/test_attachment.py @@ -44,10 +44,12 @@ class AttachmentTestCase(common.HttpCase): 'name': "Test", 'datas': base64.b64encode(b"\xff data")}) self.assertTrue(attach.datas) + self.assertTrue(attach.store_lobject) self.assertTrue(attach.with_context({'bin_size': True}).datas) - self.assertTrue(attach.with_context({'human_size': True}).datas) - self.assertTrue(attach.with_context({'base64': True}).datas) - self.assertTrue(attach.with_context({'stream': True}).datas) + self.assertTrue(attach.with_context({'bin_size': True}).store_lobject) + self.assertTrue(attach.with_context({'human_size': True}).store_lobject) + self.assertTrue(attach.with_context({'base64': True}).store_lobject) + self.assertTrue(attach.with_context({'stream': True}).store_lobject) oid = attach.with_context({'oid': True}).store_lobject self.assertTrue(oid) attach.write({'datas': base64.b64encode(b"\xff data")})