def testFillup(self):
    tplt = """Value Required Col1 ([^-]+)
Value Fillup Col2 ([^-]+)
Value Fillup Col3 ([^-]+)

Start
  ^$Col1 -- -- -> Record
  ^$Col1 $Col2 -- -> Record
  ^$Col1 -- $Col3 -> Record
  ^$Col1 $Col2 $Col3 -> Record
"""
    data = """
1 -- B1
2 A2 --
3 -- B3
"""
    t = textfsm.TextFSM(cStringIO.StringIO(tplt))
    result = t.ParseText(data)
    self.failUnlessEqual(
        "[['1', 'A2', 'B1'], ['2', 'A2', 'B3'], ['3', '', 'B3']]",
        str(result))
Convert all the characters in a line to hex and combine them.
dataset/ETHPy150Open google/textfsm/textfsm_test.py/UnitTestFSM.testFillup--crossover with--dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/plugins/decode.py/asciihex_encode