]> git.ipfire.org Git - thirdparty/psycopg.git/commit
test: drop TODO points and emergency rollbacks from pipeline tests
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 9 May 2022 21:46:47 +0000 (23:46 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 9 May 2022 21:46:47 +0000 (23:46 +0200)
commite7a36e0de07b804ae886b0cc60d43c8c79f4c647
treea3fc1d927dec2dad112b9b8b5de45c167cfb0f9d
parent9e671fe44fac55d78bc255efbac1f2b844401daf
test: drop TODO points and emergency rollbacks from pipeline tests

The previous changeset restored some sanity. The behaviour in
`test_errors_raised_on_commit` is not inconsistent with the non-pipeline
mode because the two are not comparable: in non-pipeline mode the
exception is raised by `execute()`, not by `commit()`. If an exception
is raised in `commit()` itself, it is already handled consistently, as
`test_error_on_commit` shows.
tests/test_pipeline.py
tests/test_pipeline_async.py