def __init__(self, config=None, logger=None): super(ServerTargetMock, self).__init__('MockTarget', logger=logger) self.config = Config('target', config)
def __init__(self, config, response_callback, logger=None): super(ClientTargetMock, self).__init__('MockTarget', logger=logger) self.config = Config('target', config) self.response_callback = response_callback
def __init__(self, config=None, logger=None): super(ServerTargetMock, self).__init__('MockTarget', logger=logger) self.config = Config('target', config) self.instrument = MockInstrumentation()