def setUp(self):
     super(self.__class__, self).setUp()
     self.controller = types.ShareGroupTypesController()
 def setUp(self):
     super(self.__class__, self).setUp()
     self.flags(host='fake')
     self.controller = types.ShareGroupTypesController()
     self.resource_name = self.controller.resource_name
     self.mock_object(policy, 'check_policy', mock.Mock(return_value=True))
예제 #3
0
 def setUp(self):
     super(ShareGroupTypeAccessTest, self).setUp()
     self.controller = types.ShareGroupTypesController()