BSRD-286: MIG V13 attachement_swift

This commit is contained in:
Tonow-c2c
2019-10-08 17:15:22 +02:00
parent 529ae1052f
commit 4b4b92cb45
5 changed files with 13 additions and 13 deletions
@@ -1,4 +1,4 @@
# Copyright 2017-2018 Camptocamp SA
# Copyright 2017-2019 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
import base64
@@ -17,7 +17,7 @@ from odoo.addons.attachment_swift.swift_uri import SwiftUri
class TestAttachmentSwift(TestIrAttachment):
def setup(self):
super(TestAttachmentSwift, self).setUp()
super().setUp()
self.env['ir.config_parameter'].set_param('ir_attachment.location',
'swift')
@@ -1,4 +1,4 @@
# Copyright 2017-2018 Camptocamp SA
# Copyright 2017-2019 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
from odoo.addons.base.tests.test_ir_attachment import TestIrAttachment
@@ -12,7 +12,7 @@ class TestAttachmentSwift(TestIrAttachment):
"""
def setup(self):
super(TestAttachmentSwift, self).setUp()
super().setUp()
self.env['ir.config_parameter'].set_param('ir_attachment.location',
'swift')