diff --git a/cinder/api/contrib/quotas.py b/cinder/api/contrib/quotas.py index a03384ff105..f29f93f74ff 100644 --- a/cinder/api/contrib/quotas.py +++ b/cinder/api/contrib/quotas.py @@ -199,9 +199,8 @@ class QuotaSetsController(wsgi.Controller): :param req: request :param id: target project id that needs to be updated - :param body: key, value pair that that will be - applied to the resources if the update - succeeds + :param body: key, value pair that will be applied to + the resources if the update succeeds """ context = req.environ['cinder.context'] authorize_update(context) diff --git a/cinder/tests/unit/volume/drivers/netapp/eseries/test_library.py b/cinder/tests/unit/volume/drivers/netapp/eseries/test_library.py index 6530621fccc..ae86f754480 100644 --- a/cinder/tests/unit/volume/drivers/netapp/eseries/test_library.py +++ b/cinder/tests/unit/volume/drivers/netapp/eseries/test_library.py @@ -551,7 +551,7 @@ class NetAppEseriesLibraryTestCase(test.TestCase): self.assertEqual(ssc[key], pool_stats[key]) def test_update_volume_stats_no_ssc(self): - """Ensure that that pool stats are correctly reported without SSC""" + """Ensure that pool stats are correctly reported without SSC""" fake_pool = copy.deepcopy(eseries_fake.STORAGE_POOL) self.library._get_storage_pools = mock.Mock(return_value=[fake_pool]) self.library._update_volume_stats()