Exemple #1
0
 def __init__(self, config=None, logger=None):
     super(ServerTargetMock, self).__init__('MockTarget', logger=logger)
     self.config = Config('target', config)
Exemple #2
0
 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()