Esempio n. 1
0
 def off_fun():
     self.assertEqual(
         hkshell.features()['touched_post_printer'],
         'on')
     hkshell.off('touched_post_printer')
     self.assertEqual(
         hkshell.features()['touched_post_printer'],
         'off')
Esempio n. 2
0
 def off_fun():
     self.assertEqual(hkshell.features()['gen_indices'], 'on')
     hkshell.off('gen_indices')
     self.assertEqual(hkshell.features()['gen_indices'], 'off')