Home | Trees | Indices | Help |
---|
|
object --+ | CallableAssertionBuilder
An assertion builder for testing callable objects.
This object can be used to create a set of assertions about conditions when calling a callable object, such as a function or method.
To provide parameters to the callable, use thepassing
method. The callable is not actually executed until one of the return or
raises methods is called.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Constructs a new builder. In general, you want to use thecalling function instead
of this directly.
|
Applies a set of arguments to be passed to the callable. Use this method to specify what positional and keyword arguments should be passed to the callable.
|
Invokes the callable, optionally checking the returned value. Calling this method will cause the callable to be invoked, with any
arguments specified using
|
Invokes the callable and ensures the return value is
passing .
|
Invokes the callable, ensuring it raises an exception. Calling this method will cause the callable to be invoked, with any
arguments specified using ValueAssertionBuilder for the exception is returned,
allowing its properties to be examined.
|
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Sun Aug 10 22:39:01 2008 | http://epydoc.sourceforge.net |