

def test_get_scheduler_hint_with_no_hints(self):
    spec_obj = objects.RequestSpec()
    self.assertEqual('bar', spec_obj.get_scheduler_hint('oops', default='bar'))

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