def new_agent(cls, bindings): '''Implements the base class interface to create a new agent. This method is called by the base classes during setup/initialization. Args: bindings: The bindings dictionary with configuration information that this factory can draw from to initialize. If the factory would like additional custom bindings it could add them to initArgumentParser. Returns: A citest.service_testing.BaseAgent that can interact with Gate. This is the agent that test operations will be posted to. ''' return gate.new_agent(bindings)
def new_agent(cls, bindings): """Implements citest.service_testing.AgentTestScenario.new_agent.""" agent = gate.new_agent(bindings) agent.default_max_wait_secs = 180 return agent
def new_agent(cls, bindings): """Implements citest.service_testing.AgentTestScenario.new_agent.""" return gate.new_agent(bindings)
def new_agent(cls, bindings): return gate.new_agent(bindings)