Re: django.test.TestCase and settings.DATABASE_SUPPORTS_TRANSACTIONS

2009-03-25 Thread Karen Tracey
On Wed, Mar 25, 2009 at 5:26 PM, Duc Nguyen wrote: > In django.test.TestCase, there is a check for > settings.DATABASE_SUPPORTS_TRANSACTIONS but no check to make sure this > setting even exists. This causes nosetests to bail out with an > AttributeError. What is the correct way to fix this? Ho

django.test.TestCase and settings.DATABASE_SUPPORTS_TRANSACTIONS

2009-03-25 Thread Duc Nguyen
In django.test.TestCase, there is a check for settings.DATABASE_SUPPORTS_TRANSACTIONS but no check to make sure this setting even exists. This causes nosetests to bail out with an AttributeError. What is the correct way to fix this? How do we check that our db type actually supports transactions