示例#1
0
 def runTest(self):
     status, tstart, tend, msg = utils.run_test_module(
         self.modname, self.base_path)
     # TODO: Record and output generated traceback
     self.assertEquals(
         1, status, "Failure detected for module '%s'\n\n"
         "%s" % (self.modname, msg))
示例#2
0
文件: unittest.py 项目: zed/brython
 def runTest(self):
     status, tstart, tend, msg, aio_manager = utils.run_test_module(self.modname,
                                                  self.base_path)
     # TODO: Record and output generated traceback
     if not status == 1:
         raise self.failureException("Failure detected for module '%s'\n\n"
                       "%s" % (self.modname, msg))
示例#3
0
 def runTest(self):
     status, tstart, tend, msg = utils.run_test_module(self.modname,
                                                  self.base_path)
     # TODO: Record and output generated traceback
     self.assertEquals(1, status,
                       "Failure detected for module '%s'\n\n"
                       "%s" % (self.modname, msg));
示例#4
0
 def runTest(self):
     status, tstart, tend = utils.run_test_module(self.modname)
     # TODO: Record and output generated traceback
     self.assertEquals(1, status,
                       "Failure detected for module '%s'" % self.modname)
示例#5
0
 def runTest(self):
     status, tstart, tend = utils.run_test_module(self.modname)
     # TODO: Record and output generated traceback
     self.assertEquals(1, status,
                       "Failure detected for module '%s'" % self.modname);
示例#6
0
 def runTest(self):
     status, tstart, tend, msg = utils.run_test_module(self.modname, self.base_path)
     # TODO: Record and output generated traceback
     if not status == 1:
         raise self.failureException("Failure detected for module '%s'\n\n"
                       "%s" % (self.modname, msg))