

def testParseNullText(self):
    tplt = 'Value boo (.*)\n\nStart\n  ^$boo -> Next.Record\n\n'
    t = textfsm.TextFSM(cStringIO.StringIO(tplt))
    data = ''
    result = t.ParseText(data)
    self.failUnlessEqual(result, [])

dataset/ETHPy150Open google/textfsm/textfsm_test.py UnitTestFSM.testParseNullText/original