psycopg2/tests
James Henstridge 7d66c20edb * tests/test_lobject.py (LargeObjectTests): add more tests,
including behaviour on closed lobjects and stale lobjects.

	* psycopg/lobject_type.c (psyco_lobj_close): don't mark the
	connection closed here because it is done by
	lobject_close_locked().

	* psycopg/lobject_int.c (lobject_open): mark objects as not closed
	if we successfully open them.
	(lobject_close_locked): mark the lobject closed here.
	(lobject_export): ensure we are in a transaction, since
	lo_export() issues multiple queries.

	* psycopg/lobject_type.c (lobject_setup): make lobjects start closed.
2008-05-06 17:04:26 +08:00
..
__init__.py Add basic tests for large object code. Fix lobject.seek() to actually 2008-05-05 15:33:44 +08: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 2008-04-21 Jorgen Austvik <Jorgen.Austvik@sun.com> 2008-04-20 23:12:21 +00:00
test_connection.py 2008-04-21 Jorgen Austvik <Jorgen.Austvik@sun.com> 2008-04-20 23:12:21 +00:00
test_dates.py 2008-04-21 Jorgen Austvik <Jorgen.Austvik@sun.com> 2008-04-20 23:12:21 +00:00
test_lobject.py * tests/test_lobject.py (LargeObjectTests): add more tests, 2008-05-06 17:04:26 +08:00
test_psycopg2_dbapi20.py 2008-04-21 Jorgen Austvik <Jorgen.Austvik@sun.com> 2008-04-20 23:12:21 +00:00
test_quote.py 2008-04-21 James Henstridge <james@jamesh.id.au> 2008-04-20 23:19:42 +00:00
test_transaction.py 2008-04-21 Jorgen Austvik <Jorgen.Austvik@sun.com> 2008-04-20 23:12:21 +00:00
types_basic.py 2008-04-21 Jorgen Austvik <Jorgen.Austvik@sun.com> 2008-04-20 23:12:21 +00:00