

def test_is_delivery_standard(self):
    pdu = DeliverSM(source_addr='1234', destination_addr='4567', short_message='id:1891273321 sub:001 dlvrd:001 submit date:1305050826 done date:1305050826 stat:DELIVRD err:000 text:DLVRD TO MOBILE')
    isDlr = self.opFactory.isDeliveryReceipt(pdu)
    self.assertTrue((isDlr is not None))
    self.assertEquals(isDlr['id'], '1891273321')
    self.assertEquals(isDlr['sub'], '001')
    self.assertEquals(isDlr['dlvrd'], '001')
    self.assertEquals(isDlr['sdate'], '1305050826')
    self.assertEquals(isDlr['ddate'], '1305050826')
    self.assertEquals(isDlr['stat'], 'DELIVRD')
    self.assertEquals(isDlr['err'], '000')
    self.assertEquals(isDlr['text'], 'DLVRD TO MOBILE')

dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/smpp/test/test_operations.py DeliveryParsingTest.test_is_delivery_standard/original