From a015168a7aaba17795ad9a66155f05b546bc6350 Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Sat, 19 Jan 2019 23:07:41 +0000 Subject: [PATCH] publish muk_attachment_lobject - 12.0 --- muk_attachment_lobject/__manifest__.py | 2 +- muk_attachment_lobject/tests/test_attachment.py | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) 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")})