def off_fun(): self.assertEqual( hkshell.features()['touched_post_printer'], 'on') hkshell.off('touched_post_printer') self.assertEqual( hkshell.features()['touched_post_printer'], 'off')
def off_fun(): self.assertEqual(hkshell.features()['gen_indices'], 'on') hkshell.off('gen_indices') self.assertEqual(hkshell.features()['gen_indices'], 'off')