Re: model for tests
Sebastien Bigaret <[email protected]> 08 Oct 2004 10:58:04 +0200
| Newsgroups | gmane.comp.python.modeling |
|---|---|
| Message-ID | <[email protected]> |
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 :) -- S=E9bastien. ------------------------------------------------------- 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