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)
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()