def register(callback_func): current = abstracts.create_callback_handler(callback_func) data = { SmackClientSendCommand.__name__: SmackClientSendHandler, SmackClientSendResult.__name__: current } return data
def register(callback_func): current = abstracts.create_callback_handler(callback_func) data = { CheckSanityCommand.__name__: CheckSanityHandler, CheckSanityResult.__name__: current } return data
def register(callback_func): current = abstracts.create_callback_handler(callback_func) data = { CreateNewKeyCommand.__name__: CreateNewKeyHandler, CreateNewKeyResult.__name__: current } return data
def register(callback_func): current = abstracts.create_callback_handler(callback_func) data = {SmackServerReceiveResult.__name__: current} return data
def setUp(self): self.mock_input = MagicMock() self.output = abstracts.create_callback_handler(self.mock_input)