Re: SUPPORTS_TRANSACTIONS Error while running tests

2010-10-08 Thread girish shabadimath
Hi Russ, thanks for the reply,,i resolved this error,, added DATABASES['xxx']['SUPPORTS_TRANSACTIONS'] = 'False' DATABASES['default']['SUPPORTS_TRANSACTIONS'] = 'False' in settings.py On Fri, Oct 8, 2010 at 11:49 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > On Fri, Oct 8, 2010 at

Re: SUPPORTS_TRANSACTIONS Error while running tests

2010-10-08 Thread Russell Keith-Magee
On Fri, Oct 8, 2010 at 1:34 PM, girish shabadimath wrote: > Hi all, > i looked into the setup_databases()  code, here it basically checks for > MIRROR,,if db is a mirror ,then it simply points to it or else creates test > db,,,where dis SUPPORTS_TRANSACTIONS check is

Re: SUPPORTS_TRANSACTIONS Error while running tests

2010-10-07 Thread girish shabadimath
Hi all, i looked into the *setup_databases()* code, here it basically checks for MIRROR,,if db is a mirror ,then it simply points to it or else creates test db,,,where dis *SUPPORTS_TRANSACTIONS *check is happening..? trace-out shows its present in testcases.py,,but how *setup_database* gets

Re: SUPPORTS_TRANSACTIONS Error while running tests

2010-10-06 Thread Russell Keith-Magee
On Thu, Oct 7, 2010 at 1:32 PM, girish shabadimath wrote: > Hi all, > > im using django 1.2 > > i dont want django to create test_db for testing, instead should use the > main database > > i have override  run_tests method to do unit tests,,, > here is the run_tests

SUPPORTS_TRANSACTIONS Error while running tests

2010-10-06 Thread girish shabadimath
Hi all, im using django 1.2 i dont want django to create test_db for testing, instead should use the main database i have override run_tests method to do unit tests,,, here is the run_tests code: class Custom_TestSuiteRunner(DjangoTestSuiteRunner): def run_tests(self, test_labels,

SUPPORTS_TRANSACTIONS Error while running tests

2010-10-06 Thread girish shabadimath
Hi all, im using django 1.2 i have override run_tests method to do unit tests,,, i dont want django to create test_db for testing, instead should use the main database here is the run_tests code: class Custom_TestSuiteRunner(DjangoTestSuiteRunner): def run_tests(self, test_labels,