Exemplo n.º 1
0
 def setUp(self):
     config = SmppTransportConfig({
         "transport_name": "transport_name",
         "host": '127.0.0.1',
         "port": 2775,
         "system_id": 'test_system',
         "password": '******',
     })
     self.kvs = None
     self.esme_callbacks = None
     self.esme = ESME(config, {
         'system_id': 'test_system',
         'password': '******',
     }, self.kvs, self.esme_callbacks)
Exemplo n.º 2
0
 def setUp(self):
     config = SmppTransportConfig({
         "transport_name": "transport_name",
         "host": '127.0.0.1',
         "port": 2775,
         "system_id": 'test_system',
         "password": '******',
     })
     self.kvs = None
     self.esme_callbacks = None
     self.esme = ESME(config, {
         'system_id': 'test_system',
         'password': '******',
     }, self.kvs, self.esme_callbacks)
Exemplo n.º 3
0
class TestESME(VumiTestCase):
    def setUp(self):
        config = SmppTransportConfig({
            "transport_name": "transport_name",
            "host": '127.0.0.1',
            "port": 2775,
            "system_id": 'test_system',
            "password": '******',
        })
        self.kvs = None
        self.esme_callbacks = None
        self.esme = ESME(config, {
            'system_id': 'test_system',
            'password': '******',
        }, self.kvs, self.esme_callbacks)

    def test_bind_as_transceiver(self):
        return self.esme.bindTransciever()
Exemplo n.º 4
0
class TestESME(VumiTestCase):

    def setUp(self):
        config = SmppTransportConfig({
            "transport_name": "transport_name",
            "host": '127.0.0.1',
            "port": 2775,
            "system_id": 'test_system',
            "password": '******',
        })
        self.kvs = None
        self.esme_callbacks = None
        self.esme = ESME(config, {
            'system_id': 'test_system',
            'password': '******',
        }, self.kvs, self.esme_callbacks)

    def test_bind_as_transceiver(self):
        return self.esme.bindTransciever()