From b624d75b18b6644adb1e783e1032cbf74da409e7 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Wed, 1 Jul 2015 16:11:59 +1200 Subject: Update documentation --- ...testtools.tests.test_runtest.CustomRunTest.html | 165 +++++++++++++++++++++ 1 file changed, 165 insertions(+) create mode 100644 apidocs/testtools.tests.test_runtest.CustomRunTest.html (limited to 'apidocs/testtools.tests.test_runtest.CustomRunTest.html') diff --git a/apidocs/testtools.tests.test_runtest.CustomRunTest.html b/apidocs/testtools.tests.test_runtest.CustomRunTest.html new file mode 100644 index 0000000..3f0bebf --- /dev/null +++ b/apidocs/testtools.tests.test_runtest.CustomRunTest.html @@ -0,0 +1,165 @@ + + + + + testtools.tests.test_runtest.CustomRunTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
MethodrunRun self.case reporting activity to result.
+ +

+ Inherited from RunTest: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Instance VariablecaseThe test case that is to be run.
Instance VariableresultThe result object a case is reporting to.
Instance VariablehandlersA list of (ExceptionClass, handler_function) for +exceptions that should be caught if raised from the user +code. Exceptions that are caught are checked against this list in +first to last order. There is a catch-all of 'Exception' at the end +of the list, so to add a new exception to the list, insert it at the +front (which ensures that it will be checked before any existing base +classes in the list. If you add multiple exceptions some of which are +subclasses of each other, add the most specific exceptions last (so +they come before their parent classes in the list).
Instance Variableexception_caughtAn object returned when _run_user catches an +exception.
Method__init__Create a RunTest to run a case.
Instance Variable_exceptionsA list of caught exceptions, used to do the single +reporting of error/failure/skip etc.
Method_run_oneRun one test reporting to result.
Method_run_prepared_resultRun one test reporting to result.
Method_run_coreRun the user supplied test code.
Method_run_cleanupsRun the cleanups that have been added with addCleanup.
Method_run_userRun a user supplied function.
Method_got_user_exceptionCalled when user code raises an exception.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + run(self, result=None): + +
+
+ +
Run self.case reporting activity to result.
ParametersresultOptional testtools.TestResult to report activity to.
ReturnsThe result object the test was run against.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file -- cgit v1.2.1