def setUp(self): super(TestFlavorCreate, self).setUp() # Return a project self.projects_mock.get.return_value = self.project self.flavors_mock.create.return_value = self.flavor self.cmd = flavor.CreateFlavor(self.app, None)
def setUp(self): super(TestFlavorCreate, self).setUp() self.flavors_mock.create.return_value = self.flavor self.cmd = flavor.CreateFlavor(self.app, None)