~0x44/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/tests/api/openstack/fakes.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:
124
124
 
125
125
 
126
126
def stub_out_image_service(stubs):
127
 
    def fake_get_image_service(image_href):
 
127
    def fake_get_image_service(context, image_href):
128
128
        return (nova.image.fake.FakeImageService(), image_href)
129
129
    stubs.Set(nova.image, 'get_image_service', fake_get_image_service)
130
130
    stubs.Set(nova.image, 'get_default_image_service',