def __init__(self, id, envelope, text, flags): self.id = id self.flags = flags self.envelope = Envelope(envelope) self.text = text self._parsed = None
def setUp(self): self.envelope = Envelope(SAMPLE_ENVELOPE)
def __init__(self, id, envelope, text, flags): self.id = id self.flags = flags self.envelope = Envelope(envelope) self.text = text self._parsed = None
def setUp(self): self.envelope = Envelope(SAMPLE_ENVELOPE)