Ejemplo n.º 1
0
 def setUp(self):
     self.checker_cfg = {
         'checker_type': 'general-result-checker',
         'key': 'process-checker'
     }
     self.ins = baseresultchecker.BaseResultChecker(self.checker_cfg, None)
Ejemplo n.º 2
0
 def test_baseresultchecker_verfiy_pass(self):
     ins = baseresultchecker.BaseResultChecker(self.checker_cfg, None)
     ins.setup()
     ins.actualResult = True
     ins.expectedResult = True
     ins.verify()
Ejemplo n.º 3
0
 def test_get_script_fullpath(self):
     ins = baseresultchecker.BaseResultChecker(self.checker_cfg, None)
     path = ins.get_script_fullpath("test.bash")
Ejemplo n.º 4
0
 def test_baseresultchecker_setup_verify_successful(self):
     ins = baseresultchecker.BaseResultChecker(self.checker_cfg, None)
     ins.setup()
     ins.verify()