summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/mock.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-04-27 15:05:41 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-04-27 15:05:41 -0400
commite25ef01fbb70c9e6af5714b246103a2564729ade (patch)
tree6048814d71cd9076a50efa7f7a17e4f8d0a2c4ed /lib/sqlalchemy/testing/mock.py
parent6c0f30db81d127920ca7a68d7a28b8ea086866b6 (diff)
downloadsqlalchemy-e25ef01fbb70c9e6af5714b246103a2564729ade.tar.gz
- Fixed regression due to :ticket:`3282` where the ``tables`` collection
passed as a keyword argument to the :meth:`.DDLEvents.before_create`, :meth:`.DDLEvents.after_create`, :meth:`.DDLEvents.before_drop`, and :meth:`.DDLEvents.after_drop` events would no longer be a list of tables, but instead a list of tuples which contained a second entry with foreign keys to be added or dropped. As the ``tables`` collection, while documented as not necessarily stable, has come to be relied upon, this change is considered a regression. Additionally, in some cases for "drop", this collection would be an iterator that would cause the operation to fail if prematurely iterated. The collection is now a list of table objects in all cases and test coverage for the format of this collection is now added. fixes #3391
Diffstat (limited to 'lib/sqlalchemy/testing/mock.py')
0 files changed, 0 insertions, 0 deletions