def METHOD_NAME(self, logger, args):
    import argparse_oe
    if not args.sdk_dir:
        raise argparse_oe.ArgumentUsageError("No SDK directory "\
               "specified please do, --sdk-dir SDK_DIR", self.name)
    sdk_envs = OESDKTestContextExecutor._get_sdk_environs(args.sdk_dir)
    if not sdk_envs:
        raise argparse_oe.ArgumentUsageError("No available SDK "\
               "environments found at %s" % args.sdk_dir, self.name)
    if args.list_sdk_env:
        self._display_sdk_envs(logger.info, args, sdk_envs)
        sys.exit(0)
    if not args.sdk_env in sdk_envs:
        self._display_sdk_envs(logger.error, args, sdk_envs)
        raise argparse_oe.ArgumentUsageError("No valid SDK "\
               "environment (%s) specified" % args.sdk_env, self.name)
    self.sdk_env = sdk_envs[args.sdk_env]
    return super(OESDKTestContextExecutor, self).METHOD_NAME(logger, args)