From: Jay S. Bryant Date: Thu, 31 Oct 2013 19:05:16 +0000 (-0500) Subject: Fix typo in test_check_ssh_injection_on error test X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=eb0f2e4dd538a79184efbb23d7e404147dfe877b;p=openstack-build%2Fcinder-build.git 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 --- 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)