summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorJesse Andrews <anotherjesse@gmail.com>2010-07-14 21:26:10 -0500
committerJesse Andrews <anotherjesse@gmail.com>2010-07-14 21:26:10 -0500
commit6bed8cde37af2614367f2ecb45bbc43d412ccd4c (patch)
tree73a6b5d28e7d91cb8951e59e330f6bcb0afca3c8 /nova/tests
parent02fa700c4595344287a66ccbcca7510f0f4071af (diff)
work on importing images
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/objectstore_unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/objectstore_unittest.py b/nova/tests/objectstore_unittest.py
index cee567c8b..ddd455a73 100644
--- a/nova/tests/objectstore_unittest.py
+++ b/nova/tests/objectstore_unittest.py
@@ -155,7 +155,7 @@ class ObjectStoreTestCase(test.BaseTestCase):
bucket[os.path.basename(path)] = open(path, 'rb').read()
# register an image
- objectstore.image.Image.create('i-testing', 'image_bucket/1mb.manifest.xml', self.context)
+ objectstore.image.Image.register_aws_image('i-testing', 'image_bucket/1mb.manifest.xml', self.context)
# verify image
my_img = objectstore.image.Image('i-testing')