Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow strings subclasses in ensure_bytesfix-679 | Daniele Varrazzo | 2018-02-21 | 1 | -0/+14 |
| | | | | Fix #679 | ||||
* | Silence warning on import failing a test | Daniele Varrazzo | 2018-01-29 | 1 | -1/+5 |
| | |||||
* | Fixed idempotence check changing connection characteristics | Daniele Varrazzo | 2018-01-11 | 1 | -0/+10 |
| | |||||
* | Use relative imports throughout tests | Jon Dufresne | 2017-12-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | The tests relied on Python2 relative import semantics. Python3 changed import semantics to always search sys.path by default. To import using a relative path it must have a leading dot. Forward compatible with newer Pythons. Works towards the goal of moving tests outside of the installed package. For more information, see PEP-328: https://www.python.org/dev/peps/pep-0328/ | ||||
* | Remove unnecessary script_to_py3; make scripts compatible instead | Jon Dufresne | 2017-12-01 | 1 | -2/+2 |
| | | | | Part of the work towards moving tests out of the installed package. | ||||
* | Drop support for EOL Python 2.6 | Hugo | 2017-11-28 | 1 | -2/+1 |
| | |||||
* | Use modern except syntax throughout project | Jon Dufresne | 2017-11-20 | 1 | -2/+2 |
| | | | | | | The syntax "except Exception, exc:" is deprecated. All Python versions supported by psycopg2 support the newer, modern syntax. Forward compatible with future Python versions. | ||||
* | Skipped a couple of test with unsupported postgres features | Daniele Varrazzo | 2017-07-22 | 1 | -0/+1 |
| | |||||
* | Ignore spurious output in test with Python debug build | Daniele Varrazzo | 2017-06-17 | 1 | -0/+3 |
| | |||||
* | Don't force a valid return code for the test | Daniele Varrazzo | 2017-06-15 | 1 | -1/+1 |
| | | | | Windows returns 22, Linux returns 1 | ||||
* | Added test to reproduce bug #551 | Daniele Varrazzo | 2017-06-15 | 1 | -1/+57 |
| | |||||
* | Obscure the password on url dsn too | Daniele Varrazzo | 2017-03-16 | 1 | -7/+4 |
| | | | | | | Note that we don't leak anymore the password length. Fix #528 | ||||
* | Added tests to verify the password is obscured | Daniele Varrazzo | 2017-03-15 | 1 | -0/+40 |
| | | | | The url test fails: see issue #528 | ||||
* | Bunch of test tweaks to make the test grid green | Daniele Varrazzo | 2017-03-14 | 1 | -10/+2 |
| | |||||
* | Ignore None arguments passed to make_dsn()fix-517 | Daniele Varrazzo | 2017-03-01 | 1 | -0/+4 |
| | | | | Close #517. | ||||
* | Added readonly and deferrable attributes | Daniele Varrazzo | 2017-02-16 | 1 | -15/+112 |
| | |||||
* | Revert pre-2.7b1 behaviour of silent rollback on conn.set_isolation_level() | Daniele Varrazzo | 2017-02-16 | 1 | -6/+26 |
| | | | | Legacy method is legacy. | ||||
* | connection.isolation_level is now writable | Daniele Varrazzo | 2017-02-16 | 1 | -78/+179 |
| | |||||
* | Merge branch 'no-set-default-session' | Daniele Varrazzo | 2017-02-07 | 1 | -53/+54 |
|\ | |||||
| * | Set default_transaction_* GUC if session state is changed in autocomit | Daniele Varrazzo | 2017-02-04 | 1 | -24/+25 |
| | | |||||
| * | Exposing ISOLATION_LEVEL_DEFAULT to Python | Daniele Varrazzo | 2017-02-04 | 1 | -1/+1 |
| | | | | | | | | | | This is now the state that is returned to Python if nothing has been explicitly set. | ||||
| * | Test looking the transactions characteristics instead of the default | Daniele Varrazzo | 2017-02-04 | 1 | -28/+28 |
| | | | | | | | | | | | | So we test the effect, not the implementation. Tests pass on master too this way, three tests fail in this branch, related to autocommit (sort-of-obviously). | ||||
* | | assertDsnEqual moved as TestSuite method | Daniele Varrazzo | 2017-02-06 | 1 | -5/+5 |
|/ | |||||
* | Merge branch 'async-keyword' | Daniele Varrazzo | 2017-02-03 | 1 | -8/+5 |
|\ | | | | | | | Close #495 | ||||
| * | Added async_ as an alias for async | Daniele Varrazzo | 2017-02-03 | 1 | -8/+5 |
| | | | | | | | | | | Added in argument for psycopg2.connect() and connection.__init__, and for the connection.async attribute. | ||||
* | | Further skipping of slow tests | Daniele Varrazzo | 2017-02-02 | 1 | -0/+2 |
| | | |||||
* | | Allow skipping the slow testmanylinux | Daniele Varrazzo | 2017-02-02 | 1 | -1/+5 |
|/ | | | | | | | | It's not so much about tests being slow: some just get stuck and timeout travis. Skipped all tests taking about more than 0.2s to run on my laptop. Fast testing takes about 8s instead of 24. | ||||
* | Fixed tests failing on Python 2.6 | Daniele Varrazzo | 2016-12-24 | 1 | -1/+1 |
| | |||||
* | Python source cleanup using flake8 | Daniele Varrazzo | 2016-10-11 | 1 | -20/+35 |
| | |||||
* | Merge branch 'master' into replication-protocol | Daniele Varrazzo | 2016-08-07 | 1 | -0/+7 |
|\ | | | | | | | | | Conflicts: tests/testconfig.py | ||||
| * | Merge branch 'conn-get-parameters' | Daniele Varrazzo | 2016-07-01 | 1 | -0/+7 |
| |\ | |||||
| | * | Add skip_before_libpq for test_get_dsn_parameters | Oleksandr Shulgin | 2015-10-30 | 1 | -0/+1 |
| | | | |||||
| | * | Fix typo in a new test name | Oleksandr Shulgin | 2015-10-30 | 1 | -1/+1 |
| | | | |||||
| | * | Add connection.get_dsn_parameters() | Oleksandr Shulgin | 2015-10-30 | 1 | -0/+6 |
| | | | |||||
* | | | Merge branch 'master' into feature/replication-protocol-c-connection-object | Oleksandr Shulgin | 2016-03-04 | 1 | -34/+95 |
|\ \ \ | |/ / | |||||
| * | | Allow make_dsn to take no parameter | Daniele Varrazzo | 2016-03-03 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | The behaviour of connect() is unchanged: either dsn or params must be specified. | ||||
| * | | Validate output result from make_dsn() | Daniele Varrazzo | 2016-03-03 | 1 | -20/+31 |
| | | | | | | | | | | | | | | | The output is not necessarily munged anyway: if no keyword is passed, validate the input but return it untouched. | ||||
| * | | Test that the empty dsn is a valid make_dsn input | Daniele Varrazzo | 2016-03-03 | 1 | -0/+4 |
| | | | |||||
| * | | Added test suite specific for make_dsn | Daniele Varrazzo | 2016-03-03 | 1 | -35/+82 |
| |/ | |||||
* | | Fix async replication and test. | Oleksandr Shulgin | 2015-10-15 | 1 | -49/+0 |
| | | |||||
* | | Use quote_ident from psycopg2.extensions | Oleksandr Shulgin | 2015-10-15 | 1 | -0/+14 |
| | | |||||
* | | Update stop_repl, require replication consumer to be a callable. | Oleksandr Shulgin | 2015-10-14 | 1 | -1/+5 |
| | | |||||
* | | Fix stop_replication: always raise outside the loop. | Oleksandr Shulgin | 2015-10-14 | 1 | -0/+12 |
| | | |||||
* | | Fix ReplicationTest: no NotSupportedError now. | Oleksandr Shulgin | 2015-10-14 | 1 | -5/+13 |
|/ | |||||
* | Drop spurious notices in test | Daniele Varrazzo | 2015-10-01 | 1 | -1/+2 |
| | | | | Getting some "rehashing catalog" debug messages in PG 9.4 | ||||
* | Added unicode support to parse_dsn | Daniele Varrazzo | 2015-10-01 | 1 | -3/+23 |
| | | | | Also added support for the argument as a keyword. | ||||
* | Fixed parse_dsn tests on Python 3 | Daniele Varrazzo | 2015-10-01 | 1 | -2/+2 |
| | | | | On Python 3 there is no Exception.message attribute. | ||||
* | Separate parse_dsn test in a test case of their own | Daniele Varrazzo | 2015-10-01 | 1 | -0/+2 |
| | |||||
* | Merge branch 'master' into parse-dsn | Daniele Varrazzo | 2015-10-01 | 1 | -0/+48 |
|\ | |||||
| * | Report NotSupportedError for PGRES_COPY_BOTH and PGRES_SINGLE_TUPLE | Daniele Varrazzo | 2015-09-30 | 1 | -0/+12 |
| | | | | | | | | Fixes #352. |