Mathias Markl 7 years ago
parent
commit
0263b2aa30
  1. 1
      muk_attachment_lobject/tests/test_attachment.py

1
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")})

Loading…
Cancel
Save