Fix typos in manager.py & test_common.py

TrivialFix

Change-Id: If12fe18fdabca928d37b1da8e5c34836baab974c
This commit is contained in:
zhangyanxian 2016-09-21 09:17:12 +00:00
parent 127560a3fe
commit f2162e507b
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ class Manager(base.Base, PeriodicTasks):
def is_working(self):
"""Method indicating if service is working correctly.
This method is supposed to be overriden by subclasses and return if
This method is supposed to be overridden by subclasses and return if
manager is working correctly.
"""
return True

View File

@ -93,7 +93,7 @@ class SortParamUtilsTest(base.TestCase):
self.assertEqual(['desc'], sort_dirs)
def test_get_sort_params_override_defaults(self):
"""Verifies that the defaults can be overriden."""
"""Verifies that the defaults can be overridden."""
sort_keys, sort_dirs = common.get_sort_params({}, default_key='key1',
default_dir='dir1')
self.assertEqual(['key1'], sort_keys)