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