def run_test(self):
        UseCaseBase.run_test(self)

        if self.__run_script is not None:
            verdict, message = self.__exec_script(self.__run_script)
        else:
            verdict = Global.FAILURE
            message = "No script to run !"

        return verdict, message
Ejemplo n.º 2
0
    def run_test(self):
        """
        Execute the test
        """

        UseCaseBase.run_test(self)
        time.sleep(self._duration)

        verdict = self.__get_step_verdict("RUNTEST")
        return_code = Verdict2Global.map[verdict]

        comment = "(RUNTEST) " + self._comment
        return return_code, comment
Ejemplo n.º 3
0
 def run_test(self):
     UseCaseBase.run_test(self)
     return self.__run_cmds("RUN_CMD", "RUN_TIMEOUT", "RUN_EXPECT_RESULT")