~0x44/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/tests/test_xenapi.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:
932
932
        self.fake_instance.architecture = 'x86-64'
933
933
 
934
934
    def assert_disk_type(self, disk_type):
 
935
        ctx = context.RequestContext('fake', 'fake')
935
936
        dt = vm_utils.VMHelper.determine_disk_image_type(
936
 
            self.fake_instance)
 
937
            self.fake_instance, ctx)
937
938
        self.assertEqual(disk_type, dt)
938
939
 
939
940
    def test_instance_disk(self):