mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[IMP] : black, isort, prettier
This commit is contained in:
committed by
ntsirintanis
parent
e9296fe02c
commit
9297e48691
@@ -2,13 +2,13 @@
|
||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
|
||||
|
||||
from contextlib import contextmanager
|
||||
|
||||
from mock import MagicMock
|
||||
|
||||
from odoo.tests.common import TransactionCase
|
||||
|
||||
|
||||
class Common(TransactionCase):
|
||||
|
||||
@contextmanager
|
||||
def _mock_method(self, method_name, method_obj=None):
|
||||
if method_obj is None:
|
||||
|
||||
Reference in New Issue
Block a user