psycopg2/tests
Daniele Varrazzo 88803695ac Normalize the encoding name at connection
The encoding can be set by PGCLIENTENCODING, which may be an alternative
spelling. Bug reported by Peter Eisentraut.

At this point the idea of considering one of the random spellings such as
EUC_CN as somewhat "blessed" is debunked. So just store the cleaned-up
version of the encoding in the mapping table. Note that the cleaned-up
version was needed by the unicode adapter: this requirement has been
surpassed as the connection now contains a copy of the Python codec name
set whenever the client encoding is set.
2011-04-08 13:48:11 +01:00
..
__init__.py Don't check the test db exists at psycopg2.tests import time 2011-03-30 15:52:49 +01:00
bug_gc.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
bugX000.py Added license to unit tests 2011-01-09 23:44:35 +00:00
dbapi20_tpc.py hook up two phase commit tests. 2010-11-05 09:34:47 +00:00
dbapi20.py DBAPI compatibility test updated to 1.12. 2010-09-23 23:36:58 +01:00
extras_dictcursor.py Provide cursor.description as named tuple if possible 2011-02-19 00:05:43 +00:00
test_async.py Cleanup of skipping of testing methods on certain Py/PG versions 2011-02-15 17:11:07 +00:00
test_cancel.py Cleanup of skipping of testing methods on certain Py/PG versions 2011-02-15 17:11:07 +00:00
test_connection.py Normalize the encoding name at connection 2011-04-08 13:48:11 +01:00
test_copy.py Added complete roundtrip test with copy_expert and Unicode 2011-02-19 14:35:56 +00:00
test_cursor.py Correctly detect an empty query sent to the backend 2011-03-04 20:30:43 +00:00
test_dates.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_green.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_lobject.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_notify.py Tweaks to test timing to avoid errors on test VMs 2011-02-20 19:33:22 +00:00
test_psycopg2_dbapi20.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_quote.py Raise an exception if the libpq fails to decode bytea in hex format 2011-02-23 14:04:27 +00:00
test_transaction.py Cleanup of skipping of testing methods on certain Py/PG versions 2011-02-15 17:11:07 +00:00
testconfig.py Fixed linefeeds on merged files to unix linefeeds 2011-02-10 17:16:10 -07:00
testutils.py Parse bytea output format ourselves instead of using the libpq 2011-03-26 12:59:14 +00:00
types_basic.py Fixed bytea encoding tests skipping when ctypes is not available 2011-03-26 14:27:58 +00:00
types_extras.py Fixed use of the new return value of HstoreAdapter.get_oids() 2011-02-25 01:37:02 +00:00