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