nova/nova/tests/unit/keymgr
Dave McCowan 676a53ce44 Check context before returning cached value
The key manager caches the value of barbican client to be reused,
saving an extra call to keystone.  The cached value is only
applicable to the current context, so the context must be checked
before returning the cached value.

Closes-Bug: #1523646

Change-Id: I7cd7f1ba8a749b230c611e4fb20ccf4127354c35
2015-12-14 17:45:33 -05:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fake.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_barbican.py Check context before returning cached value 2015-12-14 17:45:33 -05:00
test_conf_key_mgr.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
test_key.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_key_mgr.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_mock_key_mgr.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_not_implemented_key_mgr.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_single_key_mgr.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00