Browse Source

Update test_attachment.py

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

6
muk_attachment_lobject/tests/test_attachment.py

@ -85,7 +85,9 @@ class AttachmentTestCase(common.HttpCase):
'datas': base64.b64encode(b"\xff data")})
attach._cr.commit()
self.authenticate('admin', 'admin')
url = "/web/lobject/{}".format(
attach.id
url = "/web/lobject/{}/{}/{}".format(
'ir.attachment',
attach.id,
'store_lobject'
)
self.url_open(url)
Loading…
Cancel
Save