def testKey(self):
    tplt = ('Value Required boo (on.)\n'
            'Value Required,Key hoo (on.)\n\n'
            'Start\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 t._GetValue('boo').OptionNames())
dataset/ETHPy150Open google/textfsm/textfsm_test.py/UnitTestFSM.testKey/original