

def testKey(self):
    tplt = 'Value Required boo (on.)\nValue Required,Key hoo (on.)\n\nStart\n  ^$boo -> Continue\n  ^$hoo -> Record'
    t = textfsm.TextFSM(cStringIO.StringIO(tplt))
    self.failUnless(('Key' in t._GetValue('hoo').OptionNames()))
    self.failUnless(('Key' not in tplt._GetValue('boo').OptionNames()))

dataset/ETHPy150Open google/textfsm/textfsm_test.py UnitTestFSM.testKey/VarMisuse@56/128 `t`->`tplt`