Пример #1
0
 def get_obj(self, setup=None, config=None):
     if setup is None:
         setup = MagicMock()
         setup.__getitem__.return_value = []
     return TestTool.get_obj(self, setup, config)
Пример #2
0
 def get_obj(self, config=None):
     return TestTool.get_obj(self, config)
Пример #3
0
 def get_obj(self, setup=None, config=None):
     if setup is None:
         setup = MagicMock()
         setup.__getitem__.return_value = []
     return TestTool.get_obj(self, setup, config)