summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/api/openstack/test_images.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/nova/tests/api/openstack/test_images.py b/nova/tests/api/openstack/test_images.py
index c313192b7..c5a866bc7 100644
--- a/nova/tests/api/openstack/test_images.py
+++ b/nova/tests/api/openstack/test_images.py
@@ -262,9 +262,6 @@ class ImageControllerWithGlanceServiceTest(test.TestCase):
"href": href,
}],
}
- print test_image
- print
- print response_list
self.assertTrue(test_image in response_list)
self.assertEqual(len(response_list), len(self.IMAGE_FIXTURES))
@@ -321,31 +318,3 @@ class ImageControllerWithGlanceServiceTest(test.TestCase):
self.assertTrue(test_image in response_list)
self.assertEqual(len(response_list), len(self.IMAGE_FIXTURES))
-
- def test_get_image_create_empty(self):
- request = webob.Request.blank('/v1.1/images')
- request.method = "POST"
- response = request.get_response(fakes.wsgi_app())
- self.assertEqual(400, response.status_int)
-
- def test_get_image_create_bad_no_name(self):
- request = webob.Request.blank('/v1.1/images')
- request.method = "POST"
- request.content_type = "application/json"
- request.body = json.dumps({
- "serverId": 1,
- })
- response = request.get_response(fakes.wsgi_app())
- self.assertEqual(400, response.status_int)
-
- def test_get_image_create_bad_no_id(self):
- request = webob.Request.blank('/v1.1/images')
- request.method = "POST"
- request.content_type = "application/json"
- request.body = json.dumps({
- "name" : "Snapshot Test",
- })
- response = request.get_response(fakes.wsgi_app())
- self.assertEqual(400, response.status_int)
-
-