API

ziffect

The ziffect module.

ziffect.interface(wrapped_class)[source]

Class decorator to wrap ziffect interfaces.

Parameters:wrapped_class – The class to wrap.
Returns:The newly created wrapped class.
ziffect.effects(interface)[source]

Method to get an object that implements interface by just returning effects for each method call.

Parameters:interface – The interface for which to create a provider.
Returns:A class with method names equal to the method names of the interface. Each method on this class will generate an Effect for use with the Effect library.
class ziffect.argument[source]

Argument type

TODO(mewert): fill the rest of this in.

ziffect.matchers

The ziffect.matchers module, filled with convenient testtools matchers for use with ziffect.

ziffect.matchers.Provides(interface)[source]

Matches if interface is provided by the matchee.