Merge "Update service function name for service enable"

This commit is contained in:
Jenkins 2014-03-14 04:50:42 +00:00 committed by Gerrit Code Review
commit 141ccf77b5

View File

@ -347,7 +347,7 @@ class ShellTest(utils.TestCase):
self.assert_called('PUT', '/os-services/disable', self.assert_called('PUT', '/os-services/disable',
{"binary": "cinder-volume", "host": "host"}) {"binary": "cinder-volume", "host": "host"})
def test_service_disable(self): def test_service_enable(self):
self.run_command('service-enable host cinder-volume') self.run_command('service-enable host cinder-volume')
self.assert_called('PUT', '/os-services/enable', self.assert_called('PUT', '/os-services/enable',
{"binary": "cinder-volume", "host": "host"}) {"binary": "cinder-volume", "host": "host"})