[EMAIL PROTECTED] wrote: > To support testing (using Selenium), I would like to invoke fixtures > from regular Django views. More generally, I want to be able to > perform test setup and teardown operations from Selenium which > interacts with the application through http. > > I know that fixtures are normally part of Django tests (rather than > Selenium) and are invoked vie the "manage.py" script. Does anyone > have an idea about how to invoke fixtures from views? > > Thanks, > Doug
Here's an example of using the management commands programmatically: http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Changestomanagement.pycommands Jonathan. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---

