Browse Source

Update test_attachment.py

pull/6/head
Mathias Markl 7 years ago
committed by GitHub
parent
commit
ac9e79f5cf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      muk_attachment_lobject/tests/test_attachment.py

1
muk_attachment_lobject/tests/test_attachment.py

@ -83,6 +83,7 @@ class AttachmentTestCase(common.HttpCase):
attach = self.attachment.create({ attach = self.attachment.create({
'name': "Test", 'name': "Test",
'datas': base64.b64encode(b"\xff data")}) 'datas': base64.b64encode(b"\xff data")})
attach._cr.commit()
self.authenticate('admin', 'admin') self.authenticate('admin', 'admin')
url = "/web/lobject/{}".format( url = "/web/lobject/{}".format(
attach.id attach.id

Loading…
Cancel
Save