def prepareRoutingsAndStartConnector(self): yield SubmitSmTestCaseTools.prepareRoutingsAndStartConnector(self) # Add a MO Route to a SmppServerSystemIdConnector c2_destination = SmppServerSystemIdConnector(system_id = self.smppc_factory.config.username) # Set the route yield self.moroute_add(DefaultRoute(c2_destination), 0)
def prepareRoutingsAndStartConnector(self): yield SubmitSmTestCaseTools.prepareRoutingsAndStartConnector(self) # Add a MO Route to a SmppServerSystemIdConnector c2_destination = SmppServerSystemIdConnector(system_id=self.smppc_factory.config.username) # Set the route yield self.moroute_add(DefaultRoute(c2_destination), 0) # Get stats singletons self.stats_smppc = SMPPClientStatsCollector().get(self.c1.cid)