~ttx/nova/d4-merge

« back to all changes in this revision

Viewing changes to nova/tests/scheduler/test_scheduler.py

Validate the size of VHD files in OVF containers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
257
257
    def _create_instance(self, **kwargs):
258
258
        """Create a test instance"""
259
259
        inst = {}
260
 
        inst['image_id'] = 1
 
260
        # NOTE(jk0): If an integer is passed as the image_ref, the image
 
261
        # service will use the default image service (in this case, the fake).
 
262
        inst['image_ref'] = '1'
261
263
        inst['reservation_id'] = 'r-fakeres'
262
264
        inst['user_id'] = self.user_id
263
265
        inst['project_id'] = self.project_id