Searched refs:boolean_shell_value (Results 1 – 4 of 4) sorted by relevance
/tools/repohooks/rh/ |
D | shell_unittest.py | 120 self.assertTrue(rh.shell.boolean_shell_value(v, True)) 121 self.assertFalse(rh.shell.boolean_shell_value(v, False)) 124 self.assertRaises(ValueError, rh.shell.boolean_shell_value, v, True) 127 self.assertTrue(rh.shell.boolean_shell_value(v, True)) 128 self.assertTrue(rh.shell.boolean_shell_value(v, False)) 131 self.assertFalse(rh.shell.boolean_shell_value(v, True)) 132 self.assertFalse(rh.shell.boolean_shell_value(v, False))
|
D | shell.py | 148 def boolean_shell_value(sval, default): function
|
D | config.py | 127 if rh.shell.boolean_shell_value(v, None)] 167 return rh.shell.boolean_shell_value(
|
D | terminal.py | 99 self._enabled = not rh.shell.boolean_shell_value(
|