

def assertLastReadMessage(self, sms):
    lrm = self.get_last_read_message()
    self.assertEqual(lrm.message_id, sms.couch_id)
    self.assertEqual(sms.message_timestamp, sms.date)

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/sms/tests/test_chat.py ChatHistoryTestCase.assertLastReadMessage/VarMisuse@37/51 `lrm`->`sms`