Browse Source

Update test_attachment.py

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

4
muk_attachment_lobject/tests/test_attachment.py

@ -84,9 +84,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')
url = "/web/lobject"
url = "/web/lobject/{}".format( url = "/web/lobject/{}".format(
attach.id attach.id
) )
r = self.url_open(url)
self.assertTrue(r)
self.url_open(url)
Loading…
Cancel
Save