def make_loopback_control_client(test_case, reactor):
 control_amp_service = build_control_amp_service(test_case, reactor=reactor)
 client = LoopbackAMPClient(command_locator=ControlAMP(reactor, control_amp_service).locator)
 return (control_amp_service, client)

def make_loopback_control_client ( test_case , reactor ) : control_amp_service = build_control_amp_service ( test_case , reactor = reactor ) client = LoopbackAMPClient ( command_locator = ControlAMP ( reactor , control_amp_service ) . locator ) return ( control_amp_service , client )
create a control service and a client connected to it .