Logo Search packages:      
Sourcecode: ubuntu-sso-client version File versions  Download package

mocker::Event Class Reference

Inheritance diagram for mocker::Event:


List of all members.

Detailed Description

Aggregation of tasks that keep track of a recorded action.

An event represents something that may or may not happen while the
mocked environment is running, such as an attribute access, or a
method call.  The event is composed of several tasks that are
orchestrated together to create a composed meaning for the event,
including for which actions it should be run, what happens when it
runs, and what's the expectations about the actions run.

Definition at line 1460 of file mocker.py.

Public Member Functions

def __init__
def add_task
def get_tasks
def has_run
def matches
def may_run
def remove_task
def replay
def restore
def run
def satisfied
def verify

Public Attributes


Private Attributes


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index