Sunday, 4 October 2009

This weekend I'm pushing more code which makes MySQL Connector/Python more and ultimately fully compliant with the Python Database API v2.0 specification, aka PEP 249. I wrote my own unittests for this, but later I stumbled upon already made cases form which I'm stealing some ideas.

shell> ./unittests.py -t pep249
Connection object has close()-method ... ok
Connection object has commit()-method ... ok
Connection object has cursor()-method ... ok
Connection object has rollback()-method ... ok
..
----------------------------------------------------------------------
Ran 45 tests in 0.314s

Tests are great!

Bug reports are very much welcome on Launchpad! Especially compatibility problems with MySQLdb.

0 comments:

Post a Comment