fixture.exc

Fixture exceptions

exception fixture.exc.UninitializedError
Bases: exceptions.Exception
exception fixture.exc.DataSetActionException

Bases: exceptions.Exception

An exception while performing some action with a DataSet.

In addtion to etype and val adds these properties:

dataset
DataSet that caused the exception
key
Key on DataSet row if there is one
row
DataRow if there is one
stored_object
Stored object if there is one

used by fixture.loadable classes

exception fixture.exc.LoadError

Bases: fixture.exc.DataSetActionException

An exception while loading data in DataSet.

used by fixture.loadable classes

exception fixture.exc.UnloadError

Bases: fixture.exc.DataSetActionException

An exception while unloading data from a DataSet.

used by fixture.loadable classes

exception fixture.exc.StorageMediaNotFound

Bases: exceptions.LookupError

Looking up a storable object failed.

used by fixture.loadable classes

Previous topic

fixture.dataset

Next topic

fixture.io

Quick search