Binary package “python-fixtures” in ubuntu precise
PyUnit extension for defining test fixtures outside of test cases
A PyUnit extension for defining test fixtures outside of test cases. Each
fixture encapsulates creating, reusing and freeing some state - be that a
temporary directory on disk, SQL server connection, or just a particular
object graph. This is extremely useful for testing and general resource
management.
.
Fixtures ships with the base class, unittest glue and a number of precanned
concrete fixtures.