Re: model for tests
John Lenton <[email protected]> Fri, 8 Oct 2004 08:33:07 -0300
| Newsgroups | gmane.comp.python.modeling |
|---|---|
| Message-ID | <[email protected]> |
On 08 Oct 2004 10:58:04 +0200, Sebastien Bigaret <[email protected]> wrote: > > John Lenton <[email protected]> wrote: > > to test one of the patches I'd need a model to have a relation to an > > entity that has subclasses; although StoreEmployee has such a relation > > (Holidays <<-> Employee), it doesn't define the toOne side of that > > relation, and I notice that is used to test exactly that feature. > > Should I create a new model that has these properties, or do I add a, > > say, 'Salary' class? > > Yes, go for it and modify the model. Maybe a BankAccount class could > make more sense? Okay, anyway that's a test model, so the semantics is > not that important :) last night I uploaded a patch that called it 'Salary', but I'll rename it to 'BankAccount' in a while. -- John Lenton ([email protected]) -- Random fortune: bash: fortune: command not found ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl