Home | History | Annotate | Download | only in test

Lines Matching refs:opt1

355         opt1 = self.parser.get_option("-v")
356 self.assertIsInstance(opt1, Option)
357 self.assertEqual(opt1._short_opts, ["-v", "-n"])
358 self.assertEqual(opt1._long_opts, ["--verbose", "--noisy"])
359 self.assertEqual(opt1.action, "store_true")
360 self.assertEqual(opt1.dest, "verbose")
363 opt1 = self.parser.get_option("-v")
367 self.assertTrue(opt1 is opt2 is opt3 is opt4)