~0x44/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/tests/integrated/integrated_helpers.py

Update GlanceClient, GlanceImageService, and Glance Xen plugin to work with Glance keystone.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        self.flags(**f)
65
65
        self.flags(verbose=True)
66
66
 
67
 
        def fake_get_image_service(image_href):
 
67
        def fake_get_image_service(context, image_href):
68
68
            image_id = int(str(image_href).split('/')[-1])
69
69
            return (nova.image.fake.FakeImageService(), image_id)
70
70
        self.stubs.Set(nova.image, 'get_image_service', fake_get_image_service)