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.helpers.FullStackRunTest.html | 167 +++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 apidocs/testtools.tests.helpers.FullStackRunTest.html (limited to 'apidocs/testtools.tests.helpers.FullStackRunTest.html') diff --git a/apidocs/testtools.tests.helpers.FullStackRunTest.html b/apidocs/testtools.tests.helpers.FullStackRunTest.html new file mode 100644 index 0000000..d419897 --- /dev/null +++ b/apidocs/testtools.tests.helpers.FullStackRunTest.html @@ -0,0 +1,167 @@ + + + + + testtools.tests.helpers.FullStackRunTest : API documentation + + + + + + + + + +
+ + + +
+ +
+ +
+
Undocumented
+
+ +
+ + + + + + + + +
Method_run_userRun a user supplied function.
+ +

+ 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.
MethodrunRun self.case reporting activity to result.
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_got_user_exceptionCalled when user code raises an exception.
+ + + +
+ +
+ +
+ + + + + + +
+ + def + _run_user(self, fn, *args, **kwargs): + +
+
+ +

Run a user supplied function.

+

Exceptions are processed by _got_user_exception.

ReturnsEither whatever 'fn' returns or exception_caught if +'fn' raised an exception.
+
+
+ +
+
+ API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28. +
+ +
+ + \ No newline at end of file -- cgit v1.2.1