summaryrefslogtreecommitdiff
path: root/ironic/tests/unit/drivers/modules/test_inspector.py
diff options
context:
space:
mode:
authorPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2017-05-31 08:29:15 +0000
committerPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2017-06-06 10:20:54 +0000
commit4f9035c24f0465be5728ed9a8a6df76cd6f46ed3 (patch)
treebb3fd5b28d0423dcf49dbdf8c99ccf03aa4538fe /ironic/tests/unit/drivers/modules/test_inspector.py
parentd0be3bf3a4bb0d5d52fb9714e0b88feed569affa (diff)
downloadironic-4f9035c24f0465be5728ed9a8a6df76cd6f46ed3.tar.gz
Remove legacy auth loading
remove support for specifying client auth in keystone_authtoken config section. This was deprecated about a year ago and now can safely be removed. Also, fill the [cinder] section with auth options in devstack. Change-Id: I0c45d12d80eff45e643af29cded178644071c9fe
Diffstat (limited to 'ironic/tests/unit/drivers/modules/test_inspector.py')
-rw-r--r--ironic/tests/unit/drivers/modules/test_inspector.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ironic/tests/unit/drivers/modules/test_inspector.py b/ironic/tests/unit/drivers/modules/test_inspector.py
index ca2dd6f05..b843d7f5e 100644
--- a/ironic/tests/unit/drivers/modules/test_inspector.py
+++ b/ironic/tests/unit/drivers/modules/test_inspector.py
@@ -65,6 +65,8 @@ class BaseTestCase(db_base.DbTestCase):
self.task.node = self.node
self.task.driver = self.driver
self.api_version = (1, 0)
+ # NOTE(pas-ha) force-reset global inspector session object
+ inspector._INSPECTOR_SESSION = None
class CommonFunctionsTestCase(BaseTestCase):