Esempio n. 1
0
 def add_arguments(self, parser):
     super(Command, self).add_arguments(parser)
     add_arguments(parser)
     parser.add_argument(
         '--migrate-conflicting-options', default=False,
         dest='migrate_conflicting_options', action='store_true',
         help="**This option is now deprecated**. It no longer has any "
              "effect and it may be removed in a future release.")
Esempio n. 2
0
 def setUp(self):
     super().setUp()
     self.output = io.StringIO()
     self.error_output = io.StringIO()
     self.parser = ArgumentParser()
     add_arguments(self.parser)