def setUp(self):
    super(TestAvailabilityZoneValidation, self).setUp()
    self.cc = mock.Mock()
    prof = server.ServerProfile('t', spec)
    prof._computeclient = self.cc
    self.profile = prof
def setUp(self):
    super(TestAvailabilityZoneValidation, self).setUp()
    self.cc = mock.Mock()
    prof = server.ServerProfile('t', spec)
    prof._computeclient = self.cc
    self.profile = prof