This Page

The quantum.common.test_lib Module

class quantum.common.test_lib.QuantumTestResult(*args, **kw)

Bases: nose.result.TextTestResult

addError(test, err)

Overrides normal addError to add support for errorClasses. If the exception is a registered class, the error will be added to the list for that class, not errors.

addFailure(test, err)
addSuccess(test)
getDescription(test)
startTest(test)
class quantum.common.test_lib.QuantumTestRunner(stream=<open file '<stderr>', mode 'w' at 0x7f53d9ae51e0>, descriptions=1, verbosity=1, config=None)

Bases: nose.core.TextTestRunner

quantum.common.test_lib.run_tests(c=None)