SOFixture
Fixture storable by an SQLObject.
The SOFixture class is accessible via the testtools.fixtures module.
The following are attributes you can set as keywords or meta attributes (see Fixture for examples on configuring a class using meta)
- data -- datasets to load (see Fixture for format)
- so_class -- default SQLObject class to use (if missing, SOFixture.find_so_class will be consulted)
- env -- dict or something with attributes
- finder -- callable to get so_class from self.__class__ (default is find_so_from_fixture )
Methods
See the source for more information.