CsvFixture

Fixture storable as a CSV file.

The following are attributes you can set as keywords or meta attributes (see Fixture for examples on configuring a class using meta)

  • addfields -- if True first row in the CSV file will contain a field list
  • data -- dataset(s) to load (see Fixture for format)
  • encoding -- string encoding to use when writing to file
  • fields -- field list
  • filename -- name of file or filelike object

Methods

f __init__(self) ...

f __len__(self) ...

See the source for more information.