Oleg Broytmann wrote: > Can you also add some tests? For example, add a duplicate record (key), > catch an exception and test that the exception is really... what should it > be? IntegrityError? ProgrammingError? > SQLObject's tests (based on py.test framework) allow one to limit > platforms the tests are running on, so you can limit your tests to SQLite > and MySQL. > > Oleg. > Hello,
Regarding the unified database exception handling we've started to implement for the MySQL and SQLite engines, I have a couple of questions: 1. Do you consider implementing this approach, or are you raher waiting for the DB API 3.0 specification? 2. Are there persons with experience in other database engines supported by SQLObject that can tell us if these backends also follow the exception hierarchy described in PEP 249? 3. And finally, a technical question about the test system: do I have to create the MySQL tables by hand in order to run the accompanying tests? It's not clear to me how the existent tests work (their dependencies), and I couldn't execute any of them. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss