• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(745)  |  Call(622)  |  Derive(110)  |  Import(13)
Holder for test result information.

Test results are automatically managed by the TestCase and TestSuite
classes, and do not need to be explicitly manipulated by writers of tests.

Each instance holds the total number of tests run, and collections of
failures and errors that occurred among those test runs. The collections
contain tuples of (testcase, exceptioninfo), where exceptioninfo is the
formatted traceback of the error that occurred.

src/p/y/PyAMF-HEAD/doc/tutorials/examples/actionscript/google_appengine/punit/models.py   PyAMF(Download)
    def run(self, test):
        "Run the given test case or test suite."
        result = unittest.TestResult()
        test(result)
 
        if len(result.errors) > 0:
            for i in range(len(result.errors)):

src/p/y/python-specfor-HEAD/specfor/framework.py   python-specfor(Download)
    def run(self, spec, result=None):
        result = result or unittest.TestResult()
        for name in [n for n in dir(spec) if n.startswith("test")]:
            test = spec(name)
            test.run(result)
            pass
        return result

src/w/x/wxmap2-HEAD/trunk/app/src/python/BeautifulSoup-3.0.8.1/setup.py   wxmap2(Download)
#Make sure all the tests complete.
import BeautifulSoupTests
loader = unittest.TestLoader()
result = unittest.TestResult()
suite = loader.loadTestsFromModule(BeautifulSoupTests)
suite.run(result)
if not result.wasSuccessful():

src/w/x/wxmap2-HEAD/app/src/python/BeautifulSoup-3.0.8.1/setup.py   wxmap2(Download)
#Make sure all the tests complete.
import BeautifulSoupTests
loader = unittest.TestLoader()
result = unittest.TestResult()
suite = loader.loadTestsFromModule(BeautifulSoupTests)
suite.run(result)
if not result.wasSuccessful():

src/g/a/galateia-HEAD/tools/BeautifulSoup-3.1.0.1/setup.py   galateia(Download)
#Make sure all the tests complete.
import BeautifulSoupTests
loader = unittest.TestLoader()
result = unittest.TestResult()
suite = loader.loadTestsFromModule(BeautifulSoupTests)
suite.run(result)
if not result.wasSuccessful():

src/p/y/python-specfor-0.1.0/specfor/framework.py   python-specfor(Download)
    def run(self, spec, result=None):
        result = result or unittest.TestResult()
        for name in [n for n in dir(spec) if n.startswith("test")]:
            test = spec(name)
            test.run(result)
            pass
        return result

src/p/y/python-basic-HEAD/BeautifulSoup/setup.py   python-basic(Download)
#Make sure all the tests complete.
import BeautifulSoupTests
loader = unittest.TestLoader()
result = unittest.TestResult()
suite = loader.loadTestsFromModule(BeautifulSoupTests)
suite.run(result)
if not result.wasSuccessful():

src/i/l/ilsken-HEAD/BeautifulSoup/setup.py   ilsken(Download)
#Make sure all the tests complete.
import BeautifulSoupTests
loader = unittest.TestLoader()
result = unittest.TestResult()
suite = loader.loadTestsFromModule(BeautifulSoupTests)
suite.run(result)
if not result.wasSuccessful():

src/p/y/pyxml2obj-HEAD/setup.py   pyxml2obj(Download)
  from pyxml2obj import pyxml2obj_in_test, pyxml2obj_out_test
  # run module test
  loader = unittest.TestLoader()
  result = unittest.TestResult()
  suite  = loader.loadTestsFromModule(pyxml2obj_in_test)
  suite.run(result)
  if not result.wasSuccessful():

src/m/e/meteofranceParser-HEAD/setup.py   meteofranceParser(Download)
#Make sure all the tests complete.
import BeautifulSoupTests
loader = unittest.TestLoader()
result = unittest.TestResult()
suite = loader.loadTestsFromModule(BeautifulSoupTests)
suite.run(result)
if not result.wasSuccessful():

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next