Re: slow tests on 1.1.1 w/ sqlite

2009-11-16 Thread Phlip
Karen Tracey wrote: > http://code.djangoproject.com/ticket/10899 Thanks - I missed that one. Yes it's ugly, yes you can hide it in setUp (), and yes it bypasses the problems in the earlier works-around I looked at. -- Phlip http://code.djangoproject.com/ticket/10899 -- You received this me

Re: slow tests on 1.1.1 w/ sqlite

2009-11-16 Thread Karen Tracey
On Mon, Nov 16, 2009 at 1:37 PM, Phlip wrote: > > Yours, > > Russ Magee %-) > > Yours wouldn't happen to know an answer for this, right? > > > http://groups.google.com/group/django-users/browse_thread/thread/a91f161f386f10da/2eaccb410c4c0692 > > I literally don't know how to develop without TDD,

Re: slow tests on 1.1.1 w/ sqlite

2009-11-16 Thread Phlip
> Yours, > Russ Magee %-) Yours wouldn't happen to know an answer for this, right? http://groups.google.com/group/django-users/browse_thread/thread/a91f161f386f10da/2eaccb410c4c0692 I literally don't know how to develop without TDD, and the inability to call any but the most trivial GET actions

Re: slow tests on 1.1.1 w/ sqlite

2009-11-15 Thread Phlip
Russell Keith-Magee wrote: > > mileux. Enough said, and nobody's making a Federal case out of it. > > I won't claim to be a Smalltalk expert That's why I said "enough said". C-: The only detail here is I like distinct definitions, and linking "fixture" to "behavior" and "resource" to "data" allo

Re: slow tests on 1.1.1 w/ sqlite

2009-11-13 Thread Russell Keith-Magee
On Sat, Nov 14, 2009 at 2:39 PM, Phlip wrote: > The answer: > > While all tests should use the transaction-rollback trick, and it > seems the sqlite3 handlers don't use it... > > ...the primary culprit turned out to be this: > >  fixtures = ['countries'] > > Even though the tests run in an app wit

Re: slow tests on 1.1.1 w/ sqlite

2009-11-13 Thread Phlip
The answer: While all tests should use the transaction-rollback trick, and it seems the sqlite3 handlers don't use it... ...the primary culprit turned out to be this: fixtures = ['countries'] Even though the tests run in an app with a fixture with a very short list of sample countries & regio

slow tests on 1.1.1 w/ sqlite

2009-10-25 Thread Phlip
Djangos: This is the "slow test" question, again. I have time tested with 1.0.3 and 1.1.1, and a batch of only like 20 tests takes a minute on both versions. Yes to sqlite3, in :memory:. The nature of the question is I'm an old-skool Pythonist but I wouldn't know where to start diagnosing this is