Update service function name for service enable

When testing the function of enabling a service, the function name
should be test_service_enable.

Change-Id: I951c94315392834250183e0219b32804e5d2de66
This commit is contained in:
Jay Lau
2014-03-03 08:45:36 +08:00
parent 3ec28c3309
commit 30281d286c

View File

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