parcon.testframework
index
/home/jcp/github/parcon/parcon/testframework.py

 
Classes
       
__builtin__.object
TestSuite
exceptions.Exception(exceptions.BaseException)
TestException

 
class TestException(exceptions.Exception)
    
Method resolution order:
TestException
exceptions.Exception
exceptions.BaseException
__builtin__.object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message

 
class TestSuite(__builtin__.object)
     Methods defined here:
__call__(self, target)
__init__(self)
run_tests(self)
warn_missing_targets(self, targets)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
check_raises(*args, **kwargs)
check_raises(exception_type, function, ...)
 
Calls function, passing in the rest of the positional arguments and keyword
arguments. If the function does not raise an exception, check_raises raises
an exception indicating that the specified function failed to do so. If the
function raises an exception not of the specified exception_type (which can
be a tuple of multiple types if desired), another exception is raised
indicating the problem. Otherwise, check_raises returns None.
subclasses_in_module(c, modules=None, original=True)