]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Merge "Give a way to save why a service has been disabled"
authorJenkins <jenkins@review.openstack.org>
Sun, 2 Mar 2014 01:25:39 +0000 (01:25 +0000)
committerGerrit Code Review <review@openstack.org>
Sun, 2 Mar 2014 01:25:39 +0000 (01:25 +0000)
1  2 
cinder/tests/api/contrib/test_services.py
cinder/tests/test_utils.py

index 9b10d1b378648a06a860f906cda1218b50a5e601,fbabf65a0523be6253f03c71ed74699336688c02..ce9a38a0fd195b8e23ef57a3205bb9b51398f671
@@@ -138,8 -145,13 +145,10 @@@ class ServicesTest(test.TestCase)
          self.stubs.Set(policy, "enforce", fake_policy_enforce)
  
          self.context = context.get_admin_context()
-         self.controller = services.ServiceController()
+         self.ext_mgr = extensions.ExtensionManager()
+         self.ext_mgr.extensions = {}
+         self.controller = services.ServiceController(self.ext_mgr)
  
 -    def tearDown(self):
 -        super(ServicesTest, self).tearDown()
 -
      def test_services_list(self):
          req = FakeRequest()
          res_dict = self.controller.index(req)
Simple merge