mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user