Use os_cache instead no_cache
The 'no_cache' argument is deprecated in Ocata and its use may
result in errors in future releases. Use 'os_cache' instead.
reference:73196fd3c1
Change-Id: I64d75cab13429ab78c29a2add68ebfc97cc77958
This commit is contained in:
@@ -171,7 +171,7 @@ def create_nova_client(user, service_type=None):
|
|||||||
user.auth_key,
|
user.auth_key,
|
||||||
project_name=user.tenant,
|
project_name=user.tenant,
|
||||||
auth_url=test_config.nova_client['auth_url'],
|
auth_url=test_config.nova_client['auth_url'],
|
||||||
service_type=service_type, no_cache=True,
|
service_type=service_type, os_cache=False,
|
||||||
cacert=test_config.values.get('cacert', None))
|
cacert=test_config.values.get('cacert', None))
|
||||||
openstack.authenticate()
|
openstack.authenticate()
|
||||||
return TestClient(openstack)
|
return TestClient(openstack)
|
||||||
|
|||||||
Reference in New Issue
Block a user