Re: What is the correct behavior? [was: new backend: unit test ...]

2010-07-01 Thread Russell Keith-Magee
On Thu, Jul 1, 2010 at 8:05 PM, Mark Bucciarelli wrote: > On Wed, Jun 30, 2010 at 7:14 PM, Russell Keith-Magee > wrote: >> >> It appears that MonetDB is behaving the same way as PostgreSQL. The >> right approach in the test is to catch the exception and

Re: What is the correct behavior? [was: new backend: unit test ...]

2010-07-01 Thread Mark Bucciarelli
On Wed, Jun 30, 2010 at 7:14 PM, Russell Keith-Magee wrote: > > It appears that MonetDB is behaving the same way as PostgreSQL. The > right approach in the test is to catch the exception and roll back the > cursor. > In 1.2 I see full_clean() and ValidationError let's me

Re: What is the correct behavior? [was: new backend: unit test ...]

2010-06-30 Thread Russell Keith-Magee
On Thu, Jul 1, 2010 at 2:19 AM, Mark Bucciarelli wrote: > On Wed, Jun 30, 2010 at 7:56 AM, Mark Bucciarelli wrote: >> On Wed, Jun 30, 2010 at 7:14 AM, Mark Bucciarelli wrote: >>> >>> Is this test look correct? >>> >> >> It passes when using

[solved] What is the correct behavior? [was: new backend: unit test ...]

2010-06-30 Thread Mark Bucciarelli
On Wed, Jun 30, 2010 at 2:19 PM, Mark Bucciarelli wrote: > > So what is the correct Django backend behavior? > I'm going with backend-dependent for pre-1.2 Django. In 1.2 full_clean() + ValidationError is to the rescue. Thanks, m -- You received this message because you

What is the correct behavior? [was: new backend: unit test ...]

2010-06-30 Thread Mark Bucciarelli
On Wed, Jun 30, 2010 at 7:56 AM, Mark Bucciarelli wrote: > On Wed, Jun 30, 2010 at 7:14 AM, Mark Bucciarelli wrote: >> >> Is this test look correct? >> > > It passes when using SQLite ... > It fails with a postgresql_pschopg2 backend. So what is the correct