[DB-SIG] DB-API unittests

Andy Chambers andychambers2002 at yahoo.co.uk
Thu Dec 1 14:40:59 CET 2005


--- "M.-A. Lemburg" <mal at egenix.com> wrote:

> I wonder whether you are aware of the existing test suite
> for DB-API 2.0 by Stuart Bishop:
> 
> http://stuartbishop.net/Software/DBAPI20TestSuite/

Mmm.  No I wasn't.  Thanks for the link.

> > - Exceptions.  My interpretation of the API seems to deviate from that
> >   of psycopg and pgdb.  Does anyone have any views on which is correct?
> >   I wrote the tests without having any existing implementation in mind 
> >   just going from the spec.  Are the tests at fault?
> 
> Hard to tell... what are your views ?

The unittests in my first post represent as much of my views as
I've had time to think about so far.  I don't think I can make it
any clearer than those (see in particular test.*Error(self))

Regards,
Andy


		
___________________________________________________________ 
Yahoo! Model Search 2005 - Find the next catwalk superstars - http://uk.news.yahoo.com/hot/model-search/


More information about the DB-SIG mailing list