From: Eric Harney Date: Fri, 6 Mar 2015 17:27:27 +0000 (-0500) Subject: Fix "rtsllib" -> "rtslib" typos X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=aebefe402b844386448b688304a7c5dbbf17b60d;p=openstack-build%2Fcinder-build.git Fix "rtsllib" -> "rtslib" typos The correct name is "rtslib", fix up test names. Change-Id: I774d408f0b2493626b22e9b429c561252dd7750c --- diff --git a/cinder/tests/test_cmd.py b/cinder/tests/test_cmd.py index b0abc57f4..92b480ec7 100644 --- a/cinder/tests/test_cmd.py +++ b/cinder/tests/test_cmd.py @@ -695,7 +695,7 @@ class TestCinderRtstoolCmd(test.TestCase): super(TestCinderRtstoolCmd, self).tearDown() @mock.patch('rtslib.root.RTSRoot') - def test_create_rtsllib_error(self, rtsroot): + def test_create_rtslib_error(self, rtsroot): rtsroot.side_effect = rtslib.utils.RTSLibError() self.assertRaises(rtslib.utils.RTSLibError, cinder_rtstool.create, @@ -705,7 +705,7 @@ class TestCinderRtstoolCmd(test.TestCase): mock.sentinel.password, mock.sentinel.iser_enabled) - def _test_create_rtsllib_error_network_portal(self, ip): + def _test_create_rtslib_error_network_portal(self, ip): with contextlib.nested( mock.patch('rtslib.NetworkPortal'), mock.patch('rtslib.LUN'), @@ -759,11 +759,11 @@ class TestCinderRtstoolCmd(test.TestCase): if ip == '::0': network_portal.assert_any_call(tpg_new, ip, 3260, mode='any') - def test_create_rtsllib_error_network_portal_ipv4(self): - self._test_create_rtsllib_error_network_portal('0.0.0.0') + def test_create_rtslib_error_network_portal_ipv4(self): + self._test_create_rtslib_error_network_portal('0.0.0.0') - def test_create_rtsllib_error_network_portal_ipv6(self): - self._test_create_rtsllib_error_network_portal('::0') + def test_create_rtslib_error_network_portal_ipv6(self): + self._test_create_rtslib_error_network_portal('::0') def _test_create(self, ip): with contextlib.nested(