summaryrefslogtreecommitdiff
path: root/tests/unit/test_auth.py
diff options
context:
space:
mode:
authorMark McClain <mark.mcclain@dreamhost.com>2013-07-02 18:44:42 -0400
committerMark McClain <mark.mcclain@dreamhost.com>2013-07-03 11:56:44 -0400
commit93ac15bfeb51ee6a097d878e4eeef69cd2b3a6bc (patch)
tree39acb2ba93a28e1f03a3e6d739845758cd58715b /tests/unit/test_auth.py
parent8ed38707b12ae6e77480ae8d8542712d63b7fc70 (diff)
downloadpython-neutronclient-2.2.4.tar.gz
Rename quantumclient to neutronclient2.2.4
Implements Blueprint: remove-use-of-quantum Change-Id: Idebe92d56d277435ffd23f292984f9b8b8fdb2df
Diffstat (limited to 'tests/unit/test_auth.py')
-rw-r--r--tests/unit/test_auth.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/test_auth.py b/tests/unit/test_auth.py
index 06cc2de..52f0214 100644
--- a/tests/unit/test_auth.py
+++ b/tests/unit/test_auth.py
@@ -23,8 +23,8 @@ import uuid
import mox
import testtools
-from quantumclient import client
-from quantumclient.common import exceptions
+from neutronclient import client
+from neutronclient.common import exceptions
USERNAME = 'testuser'
@@ -48,7 +48,7 @@ KS_TOKEN_RESULT = {
'publicURL': ENDPOINT_URL,
'region': REGION}],
'type': 'network',
- 'name': 'Quantum Service'}
+ 'name': 'Neutron Service'}
]
}
}
@@ -56,7 +56,7 @@ KS_TOKEN_RESULT = {
ENDPOINTS_RESULT = {
'endpoints': [{
'type': 'network',
- 'name': 'Quantum Service',
+ 'name': 'Neutron Service',
'region': REGION,
'adminURL': ENDPOINT_URL,
'internalURL': ENDPOINT_URL,
@@ -110,7 +110,7 @@ class CLITestAuthKeystone(testtools.TestCase):
res401 = self.mox.CreateMock(httplib2.Response)
res401.status = 401
- # If a token is expired, quantum server retruns 401
+ # If a token is expired, neutron server retruns 401
self.client.request(
mox.StrContains(ENDPOINT_URL + '/resource'), 'GET',
headers=mox.ContainsKeyValue('X-Auth-Token', TOKEN)