Tugger the SLUGger!SLUG Mailing List Archives

Re: [coders] [python,sqlalchemy] semiautomatic tdd on data models


On 5/24/06, Jamie Wilkinson <jaq@xxxxxxxxxxxxxx> wrote:
You can't move these classes to the parent, because then the parent,
TestModel, gets scanned by the test runner (in my case, nose) and then these
functions get run without valid data.

Can't you just name the base class something else so it doesn't get
picked up by nose? Or perhaps put it in a module with a name that
won't get scanned, or am I missing something here?