From eb0f2e4dd538a79184efbb23d7e404147dfe877b Mon Sep 17 00:00:00 2001 From: "Jay S. Bryant" Date: Thu, 31 Oct 2013 14:05:16 -0500 Subject: [PATCH] Fix typo in test_check_ssh_injection_on error test The test case currently has shh instead of ssh. This commit fixes the typo. Change-Id: I1e6f926b7d22f48ae56166077659ff3e3d9a1899 --- cinder/tests/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/tests/test_utils.py b/cinder/tests/test_utils.py index cef8d8553..7d77538ee 100644 --- a/cinder/tests/test_utils.py +++ b/cinder/tests/test_utils.py @@ -462,7 +462,7 @@ class GenericUtilsTestCase(test.TestCase): self.assertIsNone(utils.check_ssh_injection(cmd_list)) def test_check_ssh_injection_on_error(self): - with_unquoted_space = ['shh', 'my_name@ name_of_remote_computer'] + with_unquoted_space = ['ssh', 'my_name@ name_of_remote_computer'] self.assertRaises(exception.SSHInjectionThreat, utils.check_ssh_injection, with_unquoted_space) -- 2.45.2