(self, test_dict)
handle skip feature for test
            - skip: skip current test unconditionally
            - skipIf: skip current test if condition is true
            - skipUnless: skip current test unless condition is true

        Args:
            test_dict (dict): test info

        Raises:
            SkipTest: skip test
handle skip feature for test
            - skip: skip current test unconditionally
            - skipIf: skip current test if condition is true
            - skipUnless: skip current test unless condition is true
handle skip feature for test - skip : skip current test unconditionally - skipIf : skip current test if condition is true - skipUnless : skip current test unless condition is true
def _handle_skip_feature(self, test_dict):
        """ handle skip feature for test
            - skip: skip current test unconditionally
            - skipIf: skip current test if condition is true
            - skipUnless: skip current test unless condition is true

        Args:
            test_dict (dict): test info

        Raises:
            SkipTest: skip test

        """
        # TODO: move skip to initialize
        skip_reason = None

        if "skip" in test_dict:
            skip_reason = test_dict["skip"]

        elif "skipIf" in test_dict:
            skip_if_condition = test_dict["skipIf"]
            if self.session_context.eval_content(skip_if_condition):
                skip_reason = "{} evaluate to True".format(skip_if_condition)

        elif "skipUnless" in test_dict:
            skip_unless_condition = test_dict["skipUnless"]
            if not self.session_context.eval_content(skip_unless_condition):
                skip_reason = "{} evaluate to False".format(skip_unless_condition)

        if skip_reason:
            raise SkipTest(skip_reason)
def _handle_skip_feature ( self , test_dict ) : # TODO: move skip to initialize skip_reason = None if "skip" in test_dict : skip_reason = test_dict [ "skip" ] elif "skipIf" in test_dict : skip_if_condition = test_dict [ "skipIf" ] if self . session_context . eval_content ( skip_if_condition ) : skip_reason = "{} evaluate to True" . format ( skip_if_condition ) elif "skipUnless" in test_dict : skip_unless_condition = test_dict [ "skipUnless" ] if not self . session_context . eval_content ( skip_unless_condition ) : skip_reason = "{} evaluate to False" . format ( skip_unless_condition ) if skip_reason : raise SkipTest ( skip_reason )