oslo.db/oslo_db/tests/sqlalchemy
Mike Bayer 7daffffafc Add support for pickling enginefacade context objects
In order to pickle a context object which refers
to an active _TransactionContextTLocal, we have to
use __reduce__ so that no database, engine, or session
state is pickled, and only a constructor remains.  Upon
unpickling, the constructor will install a new, empty
_TransactionContextTLocal on the new context, as is
appropriate since this is a totally different context object
than the original one.

Change-Id: Ia50cf10ff91a013ee24773c095a3df69ae06847b
2015-09-22 13:45:58 -04:00
..
__init__.py Remove oslo namespace package 2015-06-21 20:54:10 +00:00
test_async_eventlet.py Test that concurrent sqlalchemy transactions don't block 2015-07-16 20:20:45 +10:00
test_enginefacade.py Add support for pickling enginefacade context objects 2015-09-22 13:45:58 -04:00
test_exc_filters.py Added catching of errors 1047 (Galera) for MySQL oslo db reconnect 2015-07-14 14:32:29 -04:00
test_handle_error.py Move files out of the namespace package 2014-12-24 13:28:48 +02:00
test_migrate_cli.py Merge "Assume relative revisions belong to alembic" 2015-08-20 15:03:15 +00:00
test_migration_common.py Sanity check after migration 2015-04-10 15:25:56 +03:00
test_migrations.py Fix test_migrations on Python 3 2015-07-28 12:50:04 +02:00
test_models.py Fix sqlalchemy.ModelBase.__contains__() behaviour 2015-06-26 19:02:53 +03:00
test_options.py Update Oslo imports to remove namespace package 2015-01-21 18:23:56 -05:00
test_provision.py Remove oslo namespace package 2015-06-21 20:54:10 +00:00
test_sqlalchemy.py Python 3: Use use_unicode=1 under Python 3 2015-07-30 07:44:43 +09:00
test_types.py Add JSON-encoded types for sqlalchemy 2015-08-03 14:56:49 +02:00
test_update_match.py Implement generic update-on-match feature 2015-03-05 14:06:59 +00:00
test_utils.py pagination: enhance sorting of null values 2015-08-06 07:46:47 +02:00