From 30281d286c15adad51ec45b989abcd38386ea5cb Mon Sep 17 00:00:00 2001 From: Jay Lau Date: Mon, 3 Mar 2014 08:45:36 +0800 Subject: [PATCH] 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 --- cinderclient/tests/v1/test_shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinderclient/tests/v1/test_shell.py b/cinderclient/tests/v1/test_shell.py index a7e6f1e18..ddb669f35 100644 --- a/cinderclient/tests/v1/test_shell.py +++ b/cinderclient/tests/v1/test_shell.py @@ -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"})