[FIX] Use an HttpCase test class to avoid locking the registry for HTTP threads loading during tests that need wkhtmltopdf

This commit is contained in:
Sylvain GARANCHER
2017-08-26 09:19:20 +02:00
parent a327a8efe0
commit d4eb0aefa7

View File

@@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import mock
from odoo.tests.common import TransactionCase
from odoo.tests.common import HttpCase
from odoo import exceptions
@@ -11,7 +11,7 @@ class StopTest(Exception):
pass
class TestReport(TransactionCase):
class TestReport(HttpCase):
def setUp(self):
super(TestReport, self).setUp()