コード例 #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
ファイル: unittest.py プロジェクト: BrythonServer/brython
 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
ファイル: unittest.py プロジェクト: tiggerntatie/brython
 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))