[IMP] : black, isort, prettier

This commit is contained in:
Ronald Portier
2020-08-20 14:01:02 +02:00
committed by Pedro M. Baeza
parent 5b5b55c8c7
commit df7608d90b
10 changed files with 117 additions and 147 deletions

View File

@@ -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: