fixup! [13.0][MIG] attachment_zipped_download: Backport from 14.0

This commit is contained in:
Héctor Vi Or 2023-05-08 11:52:34 +02:00
parent 7b2c4f68c0
commit b9c3a73041

View File

@ -28,5 +28,5 @@ class TestAttachmentZippedDownload(odoo.tests.HttpCase):
def test_action_attachments_download(self):
self.authenticate("test-user", "test-user")
res = self.attachments.action_attachments_download()
response = self.url_open(res["url"], timeout=20)
response = self.opener.get(res["url"], timeout=20)
self.assertEqual(response.status_code, 200)