

def test_image_meta_from_image_as_none(self):
    spec = objects.RequestSpec()
    self._image_meta_from_image(None)
    self.assertIsNone(spec.image)

dataset/ETHPy150Open openstack/nova/nova/tests/unit/objects/test_request_spec.py _TestRequestSpecObject.test_image_meta_from_image_as_none/VarMisuse@18/26 `spec`->`self`