Home
last modified time | relevance | path

Searched refs:boolean_shell_value (Results 1 – 4 of 4) sorted by relevance

/tools/repohooks/rh/
Dshell_unittest.py133 self.assertTrue(rh.shell.boolean_shell_value(v, True))
134 self.assertFalse(rh.shell.boolean_shell_value(v, False))
137 self.assertRaises(ValueError, rh.shell.boolean_shell_value, v, True)
140 self.assertTrue(rh.shell.boolean_shell_value(v, True))
141 self.assertTrue(rh.shell.boolean_shell_value(v, False))
144 self.assertFalse(rh.shell.boolean_shell_value(v, True))
145 self.assertFalse(rh.shell.boolean_shell_value(v, False))
Dconfig.py127 if rh.shell.boolean_shell_value(v, None)]
167 return rh.shell.boolean_shell_value(
Dshell.py154 def boolean_shell_value(sval, default): function
Dterminal.py106 self._enabled = not rh.shell.boolean_shell_value(