psycopg2/tests
James Henstridge 7d80c05748 * tests/test_transaction.py
(TransactionTestCase.test_failed_commit): Expect IntegrityError
	instead of OperationalError.

	* psycopg/pqpath.c (exception_from_sqlstate): new function that
	converts an SQLSTATE error code to the corresponding exception
	class.
	(pq_raise): use exception_from_sqlstate() to pick which exception
	to use when working with protocol version 3.
	(pq_complete_error): Let pq_raise() pick an appropriate exception
	rather than forcing OperationalError.
2008-01-11 15:10:21 +00:00
..
__init__.py Added 'make check' target, running all the available tests. 2007-11-11 10:40:12 +00:00
bugX000.py Added 'make check' target, running all the available tests. 2007-11-11 10:40:12 +00:00
dbapi20.py Added DBAPI 2.0 conformance tests in tests/. 2006-02-11 06:55:17 +00:00
extras_dictcursor.py Added 'make check' target, running all the available tests. 2007-11-11 10:40:12 +00:00
test_psycopg2_dbapi20.py Added 'make check' target, running all the available tests. 2007-11-11 10:40:12 +00:00
test_quote.py Added 'make check' target, running all the available tests. 2007-11-11 10:40:12 +00:00
test_transaction.py * tests/test_transaction.py 2008-01-11 15:10:21 +00:00
types_basic.py * psycopg/adapter_binary.c (binary_quote): apply Brandon Rhodes' 2008-01-10 22:19:23 +00:00