mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-25 06:37:43 -06:00
[16.0][MIG] attachment_zipped_download: Migration to 16.0
This commit is contained in:
@@ -30,6 +30,7 @@ class TestAttachmentZippedDownload(odoo.tests.HttpCase):
|
||||
|
||||
def test_action_attachments_download(self):
|
||||
self.authenticate("test-user", "test-user")
|
||||
res = self.attachments.action_attachments_download()
|
||||
# 16.0 WARNING odoo odoo.http: Sorry, you are not allowed to access this document.
|
||||
res = self.attachments.sudo().action_attachments_download()
|
||||
response = self.url_open(res["url"], timeout=20)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
Reference in New Issue
Block a user