Browse Source

Update test_attachment.py

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

3
muk_attachment_lobject/tests/test_attachment.py

@ -78,5 +78,4 @@ class AttachmentTestCase(common.HttpCase):
'name': "Test", 'name': "Test",
'datas': base64.b64encode(b"\xff data")}) 'datas': base64.b64encode(b"\xff data")})
self.authenticate('admin', 'admin') self.authenticate('admin', 'admin')
self.assertTrue(self.url_open("/web/lobject/ir.attachment/%s/%s/%s" % (
attach.id, 'datas', attach.datas_fname)))
self.assertTrue(self.url_open("/web/lobject/%s" % attach.id))
Loading…
Cancel
Save