summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorBrian Lamar <brian.lamar@rackspace.com>2011-03-17 23:34:12 -0400
committerBrian Lamar <brian.lamar@rackspace.com>2011-03-17 23:34:12 -0400
commitfebbfd45a0c1dbd16093ab38897e94ddb331e9ea (patch)
tree8cf11edf0f022a9c5c4792f26615ef77110a18fe /nova/tests
parentaf67fba36436feeede4dcc5720e51d2b66c3094a (diff)
Updated naming, removed some prints, and removed some invalid tests.
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)
-
-