

def test_is_delivery_jasmin_153(self):
    "Related to #153\n        Parsing jasmin's DLRs\n        "
    pdu = DeliverSM(source_addr='1234', destination_addr='4567', short_message='id:4a38dc46-5125-4969-90be-72104c340d5c sub:001 dlvrd:001 submit date:150519232657 done date:150519232657 stat:DELIVRD err:000 text:-')
    isDlr = self.opFactory.isDeliveryReceipt(pdu)
    self.assertTrue((pdu is not None))
    self.assertEquals(isDlr['id'], '4a38dc46-5125-4969-90be-72104c340d5c')
    self.assertEquals(isDlr['sub'], '001')
    self.assertEquals(isDlr['dlvrd'], '001')
    self.assertEquals(isDlr['sdate'], '150519232657')
    self.assertEquals(isDlr['ddate'], '150519232657')
    self.assertEquals(isDlr['stat'], 'DELIVRD')
    self.assertEquals(isDlr['err'], '000')
    self.assertEquals(isDlr['text'], '-')

dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/smpp/test/test_operations.py DeliveryParsingTest.test_is_delivery_jasmin_153/VarMisuse@45/159 `isDlr`->`pdu`