Back to index

python3.2  3.2.2
Classes | Functions | Variables
unittest.result Namespace Reference


class  TestResult


def failfast


 __unittest = True
string STDOUT_LINE = '\nStdout:\n%s'
string STDERR_LINE = '\nStderr:\n%s'

Detailed Description

Test result object

Function Documentation

def unittest.result.failfast (   method)

Definition at line 13 of file

00014 def failfast(method):
00015     @wraps(method)
00016     def inner(self, *args, **kw):
00017         if getattr(self, 'failfast', False):
00018             self.stop()
00019         return method(self, *args, **kw)
00020     return inner

Here is the call graph for this function:

Variable Documentation

Definition at line 11 of file

Definition at line 22 of file

Definition at line 21 of file