def test_smoke_all_flags(self): args = common.get_arguments(('--gauge={}', '--float={}', '--string={}', '--bool={}', '--boolean={}', '--counter={}', '--cumulative={}')) self.assertIsInstance(args, argparse.Namespace)
def test_smoke_all_flags(self): args = common.get_arguments( ('--gauge={}', '--float={}', '--string={}', '--bool={}', '--boolean={}', '--counter={}', '--cumulative={}')) self.assertIsInstance(args, argparse.Namespace)
def test_smoke_one_flag_repeated(self): args = common.get_arguments(('--gauge={}', '--gauge={}')) self.assertIsInstance(args, argparse.Namespace) self.assertEquals(args.gauge, ['{}', '{}'])