]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
repair ORM tests that use deferrable FKs
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 6 Jan 2021 17:50:22 +0000 (12:50 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 6 Jan 2021 17:50:22 +0000 (12:50 -0500)
commitbbb8a38295e960566366971637910fe58cce65a0
treea187bf16fcbb438690d2aba8631316459f3c3ead
parent9cb1357b95a0a835743876abdc491753ff686948
repair ORM tests that use deferrable FKs

after the bound metadata merge the unitofwork.TransactionTest
became deprecations.AutocommitClosesOnFail and was found to
be not actually running correctly on SQLite.  This test
should only run on a backend that has deferrable FKs,
which includes PostgreSQL; so add that to requirements.  this
in turn requires clarification of test_naturalpks that the
"deferrable FKs" req there is more about Oracle and its lack
of ON UPDATE cascades.

Change-Id: I867a164679274940803852c1af0920da74683bfa
test/orm/test_deprecations.py
test/orm/test_naturalpks.py
test/requirements.py