Fix typos

This commit is contained in:
Martin Michlmayr
2020-06-17 14:19:00 +08:00
committed by Paul Beckingham
parent 81183ae7d1
commit 174507e7ad
4 changed files with 5 additions and 5 deletions

View File

@@ -352,7 +352,7 @@ def release_port(port):
def memoize(obj):
"""Keep an in-memory cache of function results given it's inputs
"""Keep an in-memory cache of function results given its inputs
"""
cache = obj.cache = {}

View File

@@ -874,14 +874,14 @@ class Test1452(TestCase):
self.task_uuid = self.t.export_one()['uuid']
def test_get_task_by_uuid_with_prefix(self):
"""1452: Tries to filter task simply by it's uuid, using uuid: prefix."""
"""1452: Tries to filter task simply by its uuid, using uuid: prefix."""
output = self.t.export_one('uuid:%s' % self.task_uuid)
# Sanity check it is the correct one
self.assertEqual(output['uuid'], self.task_uuid)
def test_get_task_by_uuid_without_prefix(self):
"""1452: Tries to filter task simply by it's uuid, without using uuid: prefix."""
"""1452: Tries to filter task simply by its uuid, without using uuid: prefix."""
output = self.t.export_one(self.task_uuid)
# Sanity check it is the correct one