oslo.db/oslo_db/tests/sqlalchemy
Sean McGinnis 3c50cb5cce Fix deprecation warnings under py36
This addresses two sources of deprecation warnings.

The collections package has moved ABC classes under collections.abc. Six
does not support this move yet, so this updates the code to try to
import from the newer locations, and if that fails, import from the old
location.

Py36 is also more strict about escape sequences in strings. This happens
move often with regex strings that are valid regex but not a valid
normal string escape sequence. This addresses those errors by switching
to raw strings.

Change-Id: I4c61df6b6432b135297f38c02b4538e4ba56be51
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-04-11 11:03:59 +00:00
..
__init__.py Remove deprecation warning when loading tests/sqlalchemy 2017-07-25 16:56:24 +01:00
base.py Ensure all test fixtures in oslo_db.tests are private 2018-03-02 16:39:56 -05:00
test_async_eventlet.py Ensure all test fixtures in oslo_db.tests are private 2018-03-02 16:39:56 -05:00
test_enginefacade.py Merge "Move warnings to their own module" 2018-10-30 03:35:54 +00:00
test_exc_filters.py exc_filters: fix deadlock detection for MariaDB/Galera cluster 2019-02-08 16:46:21 +01:00
test_fixtures.py Merge "Remove function optimize_db_test_loader in test_base.py" 2018-01-05 06:38:03 +00:00
test_migrate_cli.py Fix parameters of assertEqual are misplaced 2016-07-20 18:11:34 +08:00
test_migration_common.py Ensure all test fixtures in oslo_db.tests are private 2018-03-02 16:39:56 -05:00
test_migrations.py Remove most server_default comparison logic 2018-06-15 13:31:38 +10:00
test_models.py Fix deprecation warnings under py36 2019-04-11 11:03:59 +00:00
test_ndb.py Use skipTest() method instead of deprecated skip() 2017-10-19 18:52:29 -04:00
test_options.py Rename idle_timeout to connection_recycle_time 2017-08-15 10:26:36 -04:00
test_provision.py Ensure all test fixtures in oslo_db.tests are private 2018-03-02 16:39:56 -05:00
test_sqlalchemy.py Ensure all test fixtures in oslo_db.tests are private 2018-03-02 16:39:56 -05:00
test_types.py Ensure all test fixtures in oslo_db.tests are private 2018-03-02 16:39:56 -05:00
test_update_match.py Ensure all test fixtures in oslo_db.tests are private 2018-03-02 16:39:56 -05:00
test_utils.py Ensure all test fixtures in oslo_db.tests are private 2018-03-02 16:39:56 -05:00