[Twisted-Python] PATCH: psycopg support in test_enterprise.py

Dave Peticolas dave at krondo.com
Sun Dec 14 11:45:23 EST 2003


On Fri, 2003-12-12 at 14:25, Federico Di Gregorio wrote:
> Hi *,
> 
> lately some people asked me why twisted does not support psycopg. Mm..
> actually I write all my twisted-based code using psycopg so I was a
> little bit disappointed. :) They told me that twisted is using pypgsql
> as default and I finally realized what they meant: psycopg is missing
> from the test_enterprise.py unit test and pypgsql is listed as "the"
> postgresql adapter. So here's the patch that adds psycopg to
> test_enterprise.py (I don't care about the "the" part :) 

Thanks for the patch. I'm happy to add tests for other dbms's
as well. It is in now with one minor change -- the original
patch was setting PostgresTestCase.skip in one code path and
I changed it to PsycopgTestCase.skip.

dave

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20031214/27eb4c25/attachment.pgp 


More information about the Twisted-Python mailing list