Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #128 (closed task: wontfix)

Opened 14 years ago

Last modified 10 years ago

SQLObject test fixture data

Reported by: ianb@… Owned by: anonymous
Priority: normal Milestone:
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

comment:1 Changed 13 years ago by michele

related to #136?

comment:2 Changed 13 years ago 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.

comment:3 Changed 13 years ago by jorge.vargas

  • Component changed from CherryPy to TurboGears

comment:4 Changed 13 years ago by jorge.vargas

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

comment:5 Changed 10 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to wontfix

there isn't enough interest for this.

comment:6 Changed 10 years ago by anonymous

  • Milestone __future__ deleted

Milestone future deleted

Note: See TracTickets for help on using tickets.