Merge "Explicitly request cloud name in test_caching"

This commit is contained in:
Jenkins 2015-04-22 19:52:19 +00:00 committed by Gerrit Code Review
commit b7462cef4f

View File

@ -59,7 +59,8 @@ class TestMemoryCache(base.TestCase):
self.cloud_config = occ.OpenStackConfig(config_files=[config.name],
vendor_files=[vendor.name])
self.cloud = shade.openstack_cloud(config=self.cloud_config)
self.cloud = shade.openstack_cloud(cloud='_cache_test_',
config=self.cloud_config)
def test_openstack_cloud(self):
self.assertIsInstance(self.cloud, shade.OpenStackCloud)