finish removing project_id
This commit is contained in:
@@ -39,8 +39,8 @@ class HTTPClient(httplib2.Http):
|
||||
USER_AGENT = 'python-keystoneclient'
|
||||
|
||||
def __init__(self, username=None, tenant_id=None, tenant_name=None,
|
||||
password=None, project_id=None, auth_url=None,
|
||||
region_name=None, timeout=None, endpoint=None, token=None):
|
||||
password=None, auth_url=None, region_name=None, timeout=None,
|
||||
endpoint=None, token=None):
|
||||
super(HTTPClient, self).__init__(timeout=timeout)
|
||||
self.username = username
|
||||
self.tenant_id = tenant_id
|
||||
|
||||
@@ -35,8 +35,6 @@ class Client(client.HTTPClient):
|
||||
:param string token: Token for authentication. (optional)
|
||||
:param string tenant_name: Tenant id. (optional)
|
||||
:param string tenant_id: Tenant name. (optional)
|
||||
:param string project_id: Converted to tenant name. (deprecated -
|
||||
to be removed in essex)
|
||||
:param string auth_url: Keystone service endpoint for authorization.
|
||||
:param string region_name: Name of a region to select when choosing an
|
||||
endpoint from the service catalog.
|
||||
|
||||
@@ -11,8 +11,8 @@ mock_request = mock.Mock(return_value=(fake_response, fake_body))
|
||||
|
||||
|
||||
def get_client():
|
||||
cl = client.HTTPClient(username="username", password="apikey",
|
||||
project_id="project_id", auth_url="auth_test")
|
||||
cl = client.HTTPClient(username="username", password="password",
|
||||
tenant_id="tenant", auth_url="auth_test")
|
||||
return cl
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user