def test1(self):
        text = """Replying to [comment:12 chenyang]:
> abc
defg"""
        result = xxutils.sub_reply_content(text)
        # @TODO should fix the last \n in expect string
        expect = """defg
"""
        self.assertTrue(result == expect, msg='result:[{0}], expect:[{1}]'.format(result, expect))
 def test_none_type(self):
     text = None
     result = xxutils.sub_reply_content(text)
     expect = ""
     self.assertTrue(result == expect, msg='result:[{0}], expect:[{1}]'.format(result, expect))
 def test2(self):
     text = ""
     result = xxutils.sub_reply_content(text)
     # @TODO should fix the last \n in expect string
     expect = "\n"
     self.assertTrue(result == expect, msg='result:[{0}], expect:[{1}]'.format(result, expect))