Beispiel #1
0
    def setUp(self):
        yield SMPPClientTestCases.setUp(self)

        # Start a ErrorOnSubmitSMSC
        smsc_f = LastClientFactory()
        smsc_f.protocol = ErrorOnSubmitSMSC
        self.ErrorOnSubmitSMSCPort = reactor.listenTCP(0, smsc_f)
Beispiel #2
0
    def setUp(self):
        yield SMPPClientTestCases.setUp(self)

        # Start a ErrorOnSubmitSMSC
        smsc_f = LastClientFactory()
        smsc_f.protocol = ErrorOnSubmitSMSC
        self.ErrorOnSubmitSMSCPort = reactor.listenTCP(0, smsc_f)
    def setUp(self):
        yield SMPPClientManagerPBTestCase.setUp(self)

        self.smsc_f = LastClientFactory()
        self.smsc_f.protocol = self.protocol
        self.SMSCPort = reactor.listenTCP(0, self.smsc_f)