From 0263b2aa30ef8f6014d7d60f8ceb233284003d4c Mon Sep 17 00:00:00 2001 From: Mathias Markl Date: Thu, 18 Jan 2018 19:13:55 +0100 Subject: [PATCH] test --- muk_attachment_lobject/tests/test_attachment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/muk_attachment_lobject/tests/test_attachment.py b/muk_attachment_lobject/tests/test_attachment.py index 285a99c..d93577b 100644 --- a/muk_attachment_lobject/tests/test_attachment.py +++ b/muk_attachment_lobject/tests/test_attachment.py @@ -53,6 +53,7 @@ class AttachmentTestCase(common.TransactionCase): 'name': "Test", 'datas': base64.b64encode(b"\xff data")}) self.assertTrue(attach.datas) + self.assertTrue(attach.with_context({'bin_size': True}).datas) oid = attach.with_context({'oid': True}).store_lobject self.assertTrue(oid) attach.write({'datas': base64.b64encode(b"\xff data")})