def test_no_args(self): print('\n about to getkey()') isis.getkey() # isis.getkey('gui__') does the same thing. print(' just got back from getkey()')
def test_reserved_nokey(self): cp = isis.getkey('help__').stdout.split() self.assertEqual('FROM', cp[0])
def test_getkey(self): truth = 'HIRISE' key = isis.getkey(self.cub, grpname='Instrument', keyword='InstrumentId').stdout.strip() self.assertEqual(truth, key)