[Trivial Fix] modify spelling error of "resource"

Although it is spelling mistakes, it affects reading.

Change-Id: I5ed02a08ab3a355efcfffe582fa55d5c57900603
This commit is contained in:
inspurericzhang 2018-11-01 10:51:06 +08:00
parent a19cc57391
commit 6eac9998e6
1 changed files with 2 additions and 2 deletions

View File

@ -471,8 +471,8 @@ class WaitForStatusTestCase(test.TestCase):
@mock.patch("rally.task.utils.time.sleep")
@mock.patch("rally.task.utils.time.time", return_value=1)
def test_wait_deletion_deleted(self, mock_time, mock_sleep):
# resource manager return resouce with "deleted" status sometime,
# wait_for_status return the resouce instance.
# resource manager return resource with "deleted" status sometime,
# wait_for_status return the resource instance.
res = {"status": "deleted"}
upd = mock.MagicMock(side_effect=[{"status": "deleted"}])
ret = utils.wait_for_status(resource=res,