oslo.db/oslo_db/tests
Stephen Finucane ecb15c4ac6 Don't call mapper() outside of declarative registry
Resolve the following RemovedIn20Warning:

  Calling the mapper() function directly outside of a declarative
  registry is deprecated. Please use the
  sqlalchemy.orm.registry.map_imperatively() function for a classical
  mapping.

Change-Id: I92a7ccdd48eedd4c788384033743daf50a9dc113
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-08-10 17:38:16 +01:00
..
sqlalchemy Don't call mapper() outside of declarative registry 2021-08-10 17:38:16 +01:00
__init__.py Test that concurrent sqlalchemy transactions don't block 2015-07-16 20:20:45 +10:00
base.py tests: Enable SADeprecationWarning warnings 2021-07-29 16:37:02 +01:00
fixtures.py Don't call mapper() outside of declarative registry 2021-08-10 17:38:16 +01:00
test_api.py tests: Use common base class 2021-07-29 16:37:01 +01:00
test_concurrency.py tests: Use common base class 2021-07-29 16:37:01 +01:00
utils.py tests: Use common base class 2021-07-29 16:37:01 +01:00