Пример #1
0
 def tearDown(self):
     yield self.SMSCPort.stopListening()
     yield SMPPClientManagerPBTestCase.tearDown(self)
Пример #2
0
 def tearDown(self):
     yield self.SMSCPort.stopListening()
     yield SMPPClientManagerPBTestCase.tearDown(self)
Пример #3
0
    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)
Пример #4
0
    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)