'Test get right availability zone by given an instance.'

def test_get_instance_availability_zone_default_value(self):

    fake_inst = objects.Instance(host=self.host, availability_zone=None)
    self.assertEqual(self.default_az, az.get_instance_availability_zone(self.context, fake_inst))
