summaryrefslogtreecommitdiffstats
path: root/tests/test_import_legacy.py
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2012-05-29 08:59:47 +0100
committerMark McLoughlin <markmc@redhat.com>2012-06-13 08:14:40 +0100
commitb2aa78b5588bf4bfb66951b868a3b641d2dd64e1 (patch)
treeafadef884abdf5c6b6899729ae9b9205abc8f626 /tests/test_import_legacy.py
parent84a7f3751088159035d89920fa8590aa206d65e5 (diff)
downloadkeystone-b2aa78b5588bf4bfb66951b868a3b641d2dd64e1.tar.gz
keystone-b2aa78b5588bf4bfb66951b868a3b641d2dd64e1.tar.xz
keystone-b2aa78b5588bf4bfb66951b868a3b641d2dd64e1.zip
Use cfg's new global CONF object
Implements blueprint cfg-global-object Change-Id: Ic53b41dafa8666ce21f33697f7e8697f1e5cb0fd
Diffstat (limited to 'tests/test_import_legacy.py')
-rw-r--r--tests/test_import_legacy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_import_legacy.py b/tests/test_import_legacy.py
index 5b1412b1..5c6ee61d 100644
--- a/tests/test_import_legacy.py
+++ b/tests/test_import_legacy.py
@@ -33,9 +33,9 @@ CONF = config.CONF
class ImportLegacy(test.TestCase):
def setUp(self):
super(ImportLegacy, self).setUp()
- CONF(config_files=[test.etcdir('keystone.conf.sample'),
- test.testsdir('test_overrides.conf'),
- test.testsdir('backend_sql.conf')])
+ self.config([test.etcdir('keystone.conf.sample'),
+ test.testsdir('test_overrides.conf'),
+ test.testsdir('backend_sql.conf')])
sql_util.setup_test_database()
self.identity_api = identity_sql.Identity()