psycopg2/tests
Daniele Varrazzo 600c744fba Work in progress on writable encoding
Would help using adapt(unicode) to quote strings without a connection,
see ticket #331.

Currently in heisenbug state: if test_connection_wins_anyway and
test_encoding_default run (in this order), the latter fail because the
returned value is "'\xe8 '", with an extra space. Skipping the first
test, the second succeed.

The bad value is returned by the libpq:

    ql = PQescapeString(to+eq+1, from, len);

just returns len = 2 and an extra space in the string... meh.
2016-07-01 11:17:55 +01:00
..
__init__.py Fixed race condition on import in errorcodes.lookup 2015-12-16 12:00:52 +00:00
dbapi20_tpc.py hook up two phase commit tests. 2010-11-05 09:34:47 +00:00
dbapi20.py Fix several typos 2015-05-03 10:00:11 +01:00
test_async.py Added select.select timeout on AsyncTests.wait 2014-05-19 12:15:52 +01:00
test_bug_gc.py Testing boilerplate unified in a single base class 2013-04-07 00:23:30 +01:00
test_bugX000.py All unit test modules have a test_ prefix 2011-10-19 02:20:43 +01:00
test_cancel.py Testing boilerplate unified in a single base class 2013-04-07 00:23:30 +01:00
test_connection.py Report NotSupportedError for PGRES_COPY_BOTH and PGRES_SINGLE_TUPLE 2015-09-30 12:24:47 +01:00
test_copy.py Propagate read error messages in COPY FROM 2015-02-08 01:42:21 +00:00
test_cursor.py Allow pickling of cursor.description 2015-02-08 02:31:33 +00:00
test_dates.py More tests tweaks 2015-02-08 12:51:36 +00:00
test_errcodes.py Fixed race condition on import in errorcodes.lookup 2015-12-16 12:00:52 +00:00
test_extras_dictcursor.py Testing boilerplate unified in a single base class 2013-04-07 00:23:30 +01:00
test_green.py Testing boilerplate unified in a single base class 2013-04-07 00:23:30 +01:00
test_lobject.py Accept overflow errors testing for LO64 funcs 2015-02-08 02:04:41 +00:00
test_module.py Added test to verify _psycopg can be imported 2014-08-28 02:17:49 +01:00
test_notify.py Testing external script independent from psycopg implementation 2013-04-19 23:01:28 +01:00
test_psycopg2_dbapi20.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_quote.py Testing boilerplate unified in a single base class 2013-04-07 00:23:30 +01:00
test_transaction.py Testing boilerplate unified in a single base class 2013-04-07 00:23:30 +01:00
test_types_basic.py Work in progress on writable encoding 2016-07-01 11:17:55 +01:00
test_types_extras.py Clear adapters in test to maintain reference count 2014-08-28 02:17:54 +01:00
test_with.py More tests tweaks 2015-02-08 12:51:36 +00:00
testconfig.py Report NotSupportedError for PGRES_COPY_BOTH and PGRES_SINGLE_TUPLE 2015-09-30 12:24:47 +01:00
testutils.py Fix scattered grammar/spelling errors in comments, debug output, etc. 2016-06-28 18:16:16 -04:00