Browse Source

publish muk_attachment_lobject - 13.0

pull/31/head
MuK IT GmbH 5 years ago
parent
commit
5dd3e7f9b3
  1. 6
      muk_attachment_lobject/tests/test_download.py

6
muk_attachment_lobject/tests/test_download.py

@ -24,7 +24,7 @@ import base64
import logging
import os
from odoo.addons.muk_utils.tests import common
from odoo.tests import common
_path = os.path.dirname(os.path.dirname(__file__))
_logger = logging.getLogger(__name__)
@ -56,6 +56,6 @@ class DownloadTestCase(common.HttpCase):
"filename_field": "datas_fname",
}
data.update({"id": attach_01.id})
self.assertTrue(self.url_open("/binary/content", data=data, csrf=True))
self.assertTrue(self.url_open("/binary/content", data=data))
data.update({"id": attach_02.id})
self.assertTrue(self.url_open("/binary/content", data=data, csrf=True))
self.assertTrue(self.url_open("/binary/content", data=data))
Loading…
Cancel
Save