def METHOD_NAME(self):
    parsers, args = parse_args(
        ['metrics', 'list', 'custom.', '-p', PROJECT_ID])
    self.assertEqual(args.parser, 'metrics')
    self.assertEqual(args.operation, 'list')
    self.assertEqual(args.project, PROJECT_ID)
    self.assertEqual(args.regex, 'custom.')