oslo.db/oslo_db/tests/sqlalchemy
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
..
__init__.py Remove deprecation warning when loading tests/sqlalchemy 2017-07-25 16:56:24 +01:00
base.py tests: Use common base class 2021-07-29 16:37:01 +01:00
test_async_eventlet.py Update import of declarative_base() 2021-08-10 16:53:47 +01:00
test_enginefacade.py Don't call mapper() outside of declarative registry 2021-08-10 17:38:16 +01:00
test_exc_filters.py Don't call mapper() outside of declarative registry 2021-08-10 17:38:16 +01:00
test_fixtures.py tests: Use common base class 2021-07-29 16:37:01 +01:00
test_migrate_cli.py tests: Use common base class 2021-07-29 16:37:01 +01:00
test_migration_common.py Use unittest.mock instead of third party mock 2020-03-31 14:31:03 -05:00
test_migrations.py Update import of declarative_base() 2021-08-10 16:53:47 +01:00
test_models.py Update import of declarative_base() 2021-08-10 16:53:47 +01:00
test_ndb.py tests: Use common base class 2021-07-29 16:37:01 +01:00
test_options.py tests: Use common base class 2021-07-29 16:37:01 +01:00
test_provision.py tests: Use common base class 2021-07-29 16:37:01 +01:00
test_sqlalchemy.py Don't pass kwargs to connection.execute() 2021-08-10 17:37:45 +01:00
test_types.py Update import of declarative_base() 2021-08-10 16:53:47 +01:00
test_update_match.py Don't use the 'Row.keys()' method 2021-08-10 16:53:47 +01:00
test_utils.py Don't use dict-style attribute accesses 2021-08-10 16:53:47 +01:00