def setUp(self):
    super().setUp()
    self.patch_object(conncheck, 'logger', name='mock_logger')
    self.patch_object(conncheck, 'get_plugin_manager', name='mock_get_plugin_manager')
    self.mock_collection = mock.Mock()
    self.mock_conncheck_manager = mock.Mock()
def setUp(self):
    super().setUp()
    self.patch_object(conncheck, 'logger', name='mock_logger')
    self.patch_object(conncheck, 'get_plugin_manager', name='mock_get_plugin_manager')
    self.mock_collection = mock.Mock()
    self.mock_conncheck_manager = mock.Mock()