summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Adapt bytearray and memoryview to bytes if availableDaniele Varrazzo2011-02-151-8/+20
| |
* | Cleanup of skipping of testing methods on certain Py/PG versionsDaniele Varrazzo2011-02-157-62/+74
| |
* | Skip test if clock_timestamp function is not availableDaniele Varrazzo2011-02-151-1/+2
| |
* | Dropped correct roundtrip of empty arrayDaniele Varrazzo2011-02-151-2/+14
|/ | | | | | The feature in itself is not extremely useful and instead PostgreSQL is not always able to cast away from text[], which is a regression see (ticket #42).
* Merge remote branch 'jason/devel' into develDaniele Varrazzo2011-02-124-9/+16
|\
| * Python 3 conversion failure on WindowsJason Erickson2011-02-111-3/+7
| | | | | | | | | | | | | | Windows is not able to create a tempfile with NamedTemporaryFile and then open it with a second file handle without closing the first one. Added code to close the handle, and keep the file around a little longer so it can be reopened and rewritten to again.
| * Merge branch 'devel' of git://github.com/dvarrazzo/psycopg into develJason Erickson2011-02-111-2/+2
| |\
| * | Fixed linefeeds on merged files to unix linefeedsJason Erickson2011-02-102-117/+117
| | | | | | | | | | | | | | | Merge utility changed the linefeeds from unix to windows. Changed the linefeeds back to unix linefeeds.
| * | Merge remote branch 'upstream/devel' into develJason Erickson2011-02-102-38/+61
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: setup.py tests/__init__.py tests/testconfig.py
| * | | Pulled down changes from dvarrazzo branch on ghJason Erickson2011-02-1019-291/+630
| | | | | | | | | | | | | | | | | | | | Pulled the master branch from of Daniele's psycopg branch on github and merged the changes.
| * | | Use tests.dsn for the dsn connection stringJason Erickson2011-02-022-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Using self.conn.dsn as the dsn connection string actually has the password 'x'ed out. The initial connection replaces the password with 'x' to obfuscate it. Using tests.dsn instead of self.conn.dsn ensures that the correct connection string is used.
| * | | Add PSYCOPG2_TESTDB_PASSWORD variable for testsJason Erickson2011-02-021-0/+3
| | | | | | | | | | | | | | | | | | | | Add a check for the PSYCOPG2_TESTDB_PASSWORD environment variable if the database user (or database settings) requires a password.
* | | | Added test to check issue #40Daniele Varrazzo2011-02-121-0/+3
| |_|/ |/| |
* | | Work around a 2to3 next fixer bug in a testDaniele Varrazzo2011-02-111-2/+2
| |/ |/|
* | Fixed mapping for composite types defined in a schemaDaniele Varrazzo2011-02-091-2/+25
| |
* | Merge branch 'python3' into python2Federico Di Gregorio2011-02-0619-202/+512
|\ \
| * | COPY sends unicode to a file if it derives from io.TextIoBaseDaniele Varrazzo2011-02-052-3/+70
| | | | | | | | | | | | Fixes ticket #36.
| * | Fixed standard_conforming_strings filtering in Python 3 testsDaniele Varrazzo2011-01-181-1/+1
| | |
| * | Merge branch 'python2' into python3Daniele Varrazzo2011-01-183-30/+61
| |\ \ | | |/ | | | | | | | | | | | | Conflicts: tests/bug_gc.py tests/types_extras.py
| * | A few large objects tests fixedDaniele Varrazzo2011-01-101-9/+12
| | | | | | | | | | | | The behavior changed in Python 3 after the lobject-decode merge.
| * | Large object mode parsing refactoredDaniele Varrazzo2011-01-101-3/+3
| | | | | | | | | | | | Added parsing of text/binary mode.
| * | Added tests to check large objects decodingDaniele Varrazzo2011-01-101-1/+26
| | |
| * | Merge branch 'python2' into python3Daniele Varrazzo2011-01-1018-30/+426
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: NEWS-2.3 tests/__init__.py tests/test_lobject.py tests/test_quote.py tests/testutils.py
| * | | Avoid ResourceWarning in tests in Python 3.2Daniele Varrazzo2011-01-082-4/+20
| | | |
| * | | Silence warnings due to deprecated TestCase methodsDaniele Varrazzo2011-01-081-0/+10
| | | | | | | | | | | | | | | | With a veiled criticism.
| * | | Merge branch 'python2' into python3Daniele Varrazzo2011-01-035-4/+42
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: NEWS-2.3 psycopg/connection_type.c tests/test_connection.py tests/types_basic.py
| * | | | Fixed test suite execution as a scriptDaniele Varrazzo2011-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't know why I changed the defaultTest argument into a function when I converted the test suite into a package: that argument should be really a string.
| * | | | Merge branch 'python2' into python3Daniele Varrazzo2011-01-023-0/+188
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: NEWS-2.3 setup.py
| * | | | | None/IN adaptation ported to Python 3.Daniele Varrazzo2011-01-021-3/+3
| | | | | |
| * | | | | Merge branch 'python2' into python3Daniele Varrazzo2011-01-012-1/+37
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog NEWS-2.3 lib/extensions.py psycopg/microprotocols.c setup.py
| * | | | | | Fixed notification tests to run on Py3.Daniele Varrazzo2010-12-312-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Call 2to3 on the dynamically generated scripts.
| * | | | | | Several tests ported to Python 3.Daniele Varrazzo2010-12-314-44/+54
| | | | | | |
| * | | | | | Inet adapter compatible with Python 3.Daniele Varrazzo2010-12-311-2/+2
| | | | | | |
| * | | | | | Hstore adapter compatible with Python 3.Daniele Varrazzo2010-12-311-15/+20
| | | | | | |
| * | | | | | Use ascii_letters instead of letters.Daniele Varrazzo2010-12-311-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The latter is locale-dependent and not available on Py3.
| * | | | | | Added tests to verify a couple of incomplete encodings.Daniele Varrazzo2010-12-311-1/+51
| | | | | | |
| * | | | | | Added regression test on bool adaptation.Daniele Varrazzo2010-12-311-0/+6
| | | | | | |
| * | | | | | Test on basic adapters pass on Python 3.Daniele Varrazzo2010-12-312-15/+108
| | | | | | |
| * | | | | | Empty lists correctly roundtrip.Daniele Varrazzo2010-12-311-3/+4
| | | | | | |
| * | | | | | Test suite converted into a proper package.Daniele Varrazzo2010-12-2118-106/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dropped cyclic import from modules to tests: they were only working because a second copy of the package was found in the project dir. Use relative import so that 2to3 can do a good conversion.
| * | | | | | Fixed PG -> Py encodings mapping with non-alnum chars.Daniele Varrazzo2010-12-211-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We mangle the encoding names a little bit before asking it to the backend: be sure to be able to find the equivalent Python code back or decoding (unicode cast or Py3) will barf.
| * | | | | | Some light cleanup for Py3 conversion.Daniele Varrazzo2010-12-213-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Either flagged as warning by python2.6 -3 or converted by 2to3.
* | | | | | | Fetch 'arraysize' records per roundtrip in named cursors iterationDaniele Varrazzo2011-02-051-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes ticket #33.
* | | | | | | Added test to verify named cursor efficiency.Daniele Varrazzo2011-02-011-0/+14
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Iter shouldn't fetch one record at time.
* | | | | | Skip composite type tests if the server doesn't support themDaniele Varrazzo2011-01-181-0/+18
| | | | | |
* | | | | | Skip GC bug test if uuid is not availableDaniele Varrazzo2011-01-183-25/+35
| | | | | |
* | | | | | Fixed hstore test in PG 9.x with standard_conforming_strings offDaniele Varrazzo2011-01-181-4/+7
| | | | | |
* | | | | | Fixed check for pg_sleep availability in testsDaniele Varrazzo2011-01-181-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | The function is available since PG 8.2.
* | | | | Invalidate large objects after a two-phase commit operationDaniele Varrazzo2011-01-101-2/+27
| | | | |
* | | | | Fixed segfault in large object close.Daniele Varrazzo2011-01-101-0/+9
| | | | | | | | | | | | | | | | | | | | Check that the connection is not closed/faulty before attempting lo_close.