Getting MySQL Connector/Python compliant with PEP 249
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 pep249Connection object has close()-method ... okConnection object has commit()-method ... okConnection object has cursor()-method ... okConnection 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.
Facebook
LinkedIn
Twitter
Recent Comments