From 2791cb1570fcf86527eeb87853581f9fb28c4a7a Mon Sep 17 00:00:00 2001 From: Mathias Markl Date: Mon, 22 Jan 2018 14:24:01 +0100 Subject: [PATCH] Update test_attachment.py --- muk_attachment_lobject/tests/test_attachment.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/muk_attachment_lobject/tests/test_attachment.py b/muk_attachment_lobject/tests/test_attachment.py index 2c3ae97..e2c2c66 100644 --- a/muk_attachment_lobject/tests/test_attachment.py +++ b/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)