Daniele Varrazzo
ade1b2cc7b
Test suite converted into a proper package.
...
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.
2010-12-21 05:02:19 +00:00
Daniele Varrazzo
19ead4a5cb
Test cleanup.
...
Tests pass or fail gracefully on older PostgreSQL versions.
If unittest2 is available, skip tests instead of printing warnings.
2010-11-19 03:55:37 +00:00
Daniele Varrazzo
9fe0511711
Silencing other 2 tests failures due to 2pc disabled in the server.
2010-11-09 01:44:42 +00:00
Daniele Varrazzo
8bfd34faf2
hook up two phase commit tests.
...
By James Henstridge on 2008-07-24.
Merged from lp:~jamesh/psycopg/two-phase-commit/revision/359
2010-11-05 09:34:47 +00:00
Federico Di Gregorio
f1e532151f
Removed unecessary import
2009-04-04 19:14:53 +02:00
James Henstridge
2f3f4c1258
2008-04-21 Jorgen Austvik <Jorgen.Austvik@sun.com>
...
* tests/*.py: use the DSN constructed in tests/__init__.py.
* tests/__init__.py: allow setting the host, port and user for the
DSN used by the tests through the environment.
2008-04-20 23:12:21 +00:00
Daniele Varrazzo
67afd678b0
Added 'make check' target, running all the available tests.
...
Most of the updates have been provided by James Henstridge.
Closes ticket #195 .
2007-11-11 10:40:12 +00:00
Federico Di Gregorio
95365f0f3e
Added DBAPI 2.0 conformance tests in tests/.
2006-02-11 06:55:17 +00:00