Browse Source

Update test_attachment.py

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

5
muk_attachment_lobject/tests/test_attachment.py

@ -78,4 +78,7 @@ 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/%s" % attach.id))
url = "/web/lobject/%s" % attach.id
_logger.info(url)
_logger.info(self.url_open(url))
self.assertTrue(self.url_open(url))
Loading…
Cancel
Save