Ticket #128 (new task)

Opened 3 years ago

Last modified 8 months ago

SQLObject test fixture data

Reported by: ianb@colorstudy.com Assigned to: anonymous
Priority: normal Milestone: __future__
Component: TurboGears Version:
Severity: normal Keywords:
Cc:

Description

SQLObject svn trunk has a module in sqlobject.util.csvimport for loading test fixtures, from CSV files and directories of files. It's a data loader very specifically targetted at tests, not general importing. It should be backportable without any problem.

It shouldn't be exposed completely raw, as it is not complete -- it's very possible that some relations will have to be set up with Python code, and generally the database setup routines should *use* this module, but be ad hoc Python code, rather than focusing on module too closely.

Change History

02/09/06 14:22:28 changed by michele

related to #136?

09/23/06 14:36:00 changed by jorge.vargas

  • type changed from defect to task.
  • milestone set to __future__.

I don't see why this is cherrypy.

also why not use the csv from python http://docs.python.org/lib/module-csv.html

and this is for? tests? doesn't nose has a feature for this?

also with the support of SA we can't depend on SO code.

09/23/06 14:36:15 changed by jorge.vargas

  • component changed from CherryPy to TurboGears.

09/23/06 18:47:52 changed by jorge.vargas

see #109 for the other part of this testing idea.