예제 #1
0
 def __init__(self, name, default, help, short_name=None, **args):  # pylint: disable=redefined-builtin
     p = _argument_parser.BooleanParser()
     super(BooleanFlag, self).__init__(p, None, name, default, help,
                                       short_name, 1, **args)
예제 #2
0
 def setUp(self):
     self.parser = _argument_parser.BooleanParser()