Re: Multiple db branch: tests

2006-06-30 Thread Malcolm Tredinnick
On Fri, 2006-06-30 at 13:59 +, [EMAIL PROTECTED] wrote: > > I understand what you are wanting to do. I'm wondering why you can't > > create the dictionary inside runtests.py and then poke it inside > > settings.DATABASE? > > That's a good idea, I hadn't thought of that. Are there any objectio

Re: Multiple db branch: tests

2006-06-30 Thread [EMAIL PROTECTED]
> I understand what you are wanting to do. I'm wondering why you can't > create the dictionary inside runtests.py and then poke it inside > settings.DATABASE? That's a good idea, I hadn't thought of that. Are there any objections to reserving the keys 'django_test_db_a' and 'django_test_db_b' in

Re: Multiple db branch: tests

2006-06-29 Thread Malcolm Tredinnick
On Fri, 2006-06-30 at 02:59 +, [EMAIL PROTECTED] wrote: > Malcolm, > > Thank you. You questions have actually answered a few of mine. For > those that are left, I'll try to clarify... > > > So wouldn't the analogous situation in your case be to also reserve > > django_test_a and django_test_

Re: Multiple db branch: tests

2006-06-29 Thread [EMAIL PROTECTED]
Malcolm, Thank you. You questions have actually answered a few of mine. For those that are left, I'll try to clarify... > So wouldn't the analogous situation in your case be to also reserve > django_test_a and django_test_b names as databases we will create in the > test framework and then use t

Re: Multiple db branch: tests

2006-06-29 Thread Malcolm Tredinnick
On Thu, 2006-06-29 at 14:40 +, [EMAIL PROTECTED] wrote: > Adrian Holovaty wrote: > > On 6/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Is it appropriate to have a test that requires sqlite, or should tests > > > always use the database engine(s) specified in settings? > > > > Test

Re: Multiple db branch: tests

2006-06-29 Thread [EMAIL PROTECTED]
Adrian Holovaty wrote: > On 6/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Is it appropriate to have a test that requires sqlite, or should tests > > always use the database engine(s) specified in settings? > > Tests should always use the database engines in settings. Ok. > > If they

Re: Multiple db branch: tests

2006-06-28 Thread Adrian Holovaty
On 6/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Is it appropriate to have a test that requires sqlite, or should tests > always use the database engine(s) specified in settings? Tests should always use the database engines in settings. > If they should always use the engines in settin