On 8/31/07, Nicola Larosa <[EMAIL PROTECTED]> wrote: > > > we should either fix the current admin (depending on > > how long it'll take newforms-admin to land), to work out what's going > > wrong so we don't have the same problem in newforms-admin (..and there > > are a few tickets open requesting edit_inline in newforms-admin > > already...). > > To this end, I tried making tests for some of those tickets, but I could > not find any test whatsoever for the admin interface. I would really know > how should I go in making one.
There isn't much point writing tests for the oldforms-admin interface. It's due to be deprecated reasonably soon. However, if you wanted to contribute tests for newforms-admin, they would be most welcome. There are a number of ways you could approach the problem, but I suspect the easiest way will be to set up a new regressiontest directory with some sample data models, register those models with an admin site, and use django.test.Client to poke the relevant URLs. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
