Merge "Add logging_name to enginefacade config"

This commit is contained in:
Jenkins
2016-08-10 18:21:03 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 0 deletions

View File

@@ -145,6 +145,7 @@ class _TransactionFactory(object):
'thread_checkin': _Default(True),
'json_serializer': _Default(None),
'json_deserializer': _Default(None),
'logging_name': _Default(None)
}
self._maker_cfg = {
'expire_on_commit': _Default(False),

View File

@@ -351,6 +351,7 @@ class EngineFacadeTestCase(oslo_test.BaseTestCase):
thread_checkin=mock.ANY,
json_serializer=None,
json_deserializer=None,
logging_name=mock.ANY,
)
get_maker.assert_called_once_with(engine=create_engine(),
autocommit=False,