summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-07-03 19:03:26 +0000
committerGerrit Code Review <review@openstack.org>2012-07-03 19:03:26 +0000
commitb0255f5b35513f4cbf6c603b91776cbff53168bb (patch)
tree2845bac44205185adb59a989640d6e8692294e34 /nova/tests
parentdde5b01ce129fb47050d126051775c31e36f3b89 (diff)
parent94a34e0e69a520e403a2d8e579186fad9acf14c7 (diff)
Merge "Add ServiceCatalog entries to enable Cinder usage"
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/api/test_auth.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/tests/api/test_auth.py b/nova/tests/api/test_auth.py
index 10d2cecbf..e937da541 100644
--- a/nova/tests/api/test_auth.py
+++ b/nova/tests/api/test_auth.py
@@ -12,6 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
+import json
import webob
import nova.api.auth
@@ -33,6 +34,7 @@ class TestNovaKeystoneContextMiddleware(test.TestCase):
self.request = webob.Request.blank('/')
self.request.headers['X_TENANT_ID'] = 'testtenantid'
self.request.headers['X_AUTH_TOKEN'] = 'testauthtoken'
+ self.request.headers['X_SERVICE_CATALOG'] = json.dumps({})
def test_no_user_or_user_id(self):
response = self.request.get_response(self.middleware)