

def test_to_legacy_request_spec_dict_with_unset_values(self):
    spec = objects.RequestSpec()
    self.assertEqual({
        'num_instances': 1,
        'image': {
            
        },
        'instance_properties': {
            
        },
        'instance_type': {
            
        },
    }, spec.to_legacy_request_spec_dict())

dataset/ETHPy150Open openstack/nova/nova/tests/unit/objects/test_request_spec.py _TestRequestSpecObject.test_to_legacy_request_spec_dict_with_unset_values/original