Use database backend for caching while testing. Tests create temporary database so it will have no side effects.
On Sun, Nov 9, 2008 at 03:13, Adam Seering <[EMAIL PROTECTED]> wrote: > > Hi, > I have a Django app that relies heavily on caching. I'd like > "./manage.py test" to run on its own test cache instance (so it doesn't > see keys from previous runs / other development / etc). > > I can write code to set up the cache appropriately, but, where can I > put it s.t. it runs before (and, ideally, after, for cleanup purposes) > all test cases? > > Adam > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---