diff options
Diffstat (limited to 'oslo_db/sqlalchemy/test_base.py')
-rw-r--r-- | oslo_db/sqlalchemy/test_base.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/oslo_db/sqlalchemy/test_base.py b/oslo_db/sqlalchemy/test_base.py index 8cab2ac..362f685 100644 --- a/oslo_db/sqlalchemy/test_base.py +++ b/oslo_db/sqlalchemy/test_base.py @@ -25,12 +25,13 @@ except ImportError: import os + +from oslo_utils import reflection import six from oslo_db import exception from oslo_db.sqlalchemy import provision from oslo_db.sqlalchemy import session -from oslo_db.sqlalchemy import utils class DbFixture(fixtures.Fixture): @@ -192,7 +193,7 @@ def backend_specific(*dialects): if self.engine.name not in dialects: msg = ('The test "%s" can be run ' 'only on %s. Current engine is %s.') - args = (utils.get_callable_name(f), ' '.join(dialects), + args = (reflection.get_callable_name(f), ' '.join(dialects), self.engine.name) self.skip(msg % args) else: |