HomeSort by relevance Sort by last modified time
    Searched refs:boolean_shell_value (Results 1 - 4 of 4) sorted by null

  /tools/repohooks/rh/
shell.py 153 def boolean_shell_value(sval, default): function
shell_unittest.py 118 """Test the boolean_shell_value function."""
123 self.assertTrue(rh.shell.boolean_shell_value(v, True))
124 self.assertFalse(rh.shell.boolean_shell_value(v, False))
127 self.assertRaises(ValueError, rh.shell.boolean_shell_value, v, True)
130 self.assertTrue(rh.shell.boolean_shell_value(v, True))
131 self.assertTrue(rh.shell.boolean_shell_value(v, False))
134 self.assertFalse(rh.shell.boolean_shell_value(v, True))
135 self.assertFalse(rh.shell.boolean_shell_value(v, False))
terminal.py 102 self._enabled = not rh.shell.boolean_shell_value(
config.py 148 if rh.shell.boolean_shell_value(v, None)]
179 return rh.shell.boolean_shell_value(

Completed in 193 milliseconds