def _build_service(test):
 service = AgentLoopService(reactor=MemoryReactorClock(), deployer=ControllableDeployer(u'127.0.0.1', [], []), host=u'example.com', port=1234, context_factory=ClientContextFactory(), era=uuid4())
 service.cluster_status = StubFSM()
 return service

def _build_service ( test ) : service = AgentLoopService ( reactor = MemoryReactorClock ( ) , deployer = ControllableDeployer ( u'127.0.0.1' , [ ] , [ ] ) , host = u'example.com' , port = 1234 , context_factory = ClientContextFactory ( ) , era = uuid4 ( ) ) service . cluster_status = StubFSM ( ) return service
fixture for creating agentloopservice .