

def test_from_limits_missing_values(self):
    limits_dict = {
        
    }
    spec = objects.RequestSpec()
    spec._from_limits(limits_dict)
    self.assertIsInstance(spec.limits, objects.SchedulerLimits)
    self.assertIsNone(spec.limits.numa_topology)
    self.assertIsNone(spec.limits.vcpu)
    self.assertIsNone(spec.limits.disk_gb)
    self.assertIsNone(spec.limits.memory_mb)

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