예제 #1
0
 def get_service_manager_from_init_and_run(init_name, run_mock):
     command_generator = service._command_generators[init_name]
     result_parser = service._result_parsers[init_name]
     service_manager = service._service_managers[init_name]
     service_command_generator = service._ServiceCommandGenerator(
         command_generator)
     service_result_parser = service._ServiceResultParser(result_parser)
     return service_manager(service_command_generator, service_result_parser, run_mock)
예제 #2
0
 def get_service_manager_from_init_and_run(init_name, run_mock):
     command_generator = service._command_generators[init_name]
     result_parser = service._result_parsers[init_name]
     service_manager = service._service_managers[init_name]
     service_command_generator = service._ServiceCommandGenerator(
         command_generator)
     service_result_parser = service._ServiceResultParser(result_parser)
     return service_manager(service_command_generator, service_result_parser, run_mock)
예제 #3
0
 def get_service_manager_from_init_and_run(init_name, run_mock):
     command_generator = service._COMMAND_GENERATORS[init_name]
     result_parser = service._RESULT_PARSERS[init_name]
     service_manager = service._SERVICE_MANAGERS[init_name]
     service_command_generator = service._ServiceCommandGenerator(
         command_generator)
     service_result_parser = service._ServiceResultParser(result_parser)
     return service_manager(service_command_generator, service_result_parser,
                            run_mock)
예제 #4
0
def get_service_manager_from_init_and_run(init_name, run_mock):
    command_generator = service._COMMAND_GENERATORS[init_name]
    result_parser = service._RESULT_PARSERS[init_name]
    service_manager = service._SERVICE_MANAGERS[init_name]
    service_command_generator = service._ServiceCommandGenerator(
        command_generator)
    service_result_parser = service._ServiceResultParser(result_parser)
    return service_manager(service_command_generator, service_result_parser,
                           run_mock)