Fix a typo in code comment

UnepectedDeletingTaskStateError should be UnexpectedDeletingTaskStateError

Change-Id: I8758c4275ba16512c16dd86dbc13423f719d3605
This commit is contained in:
chenaidong1 2017-05-12 16:32:55 +08:00
parent d139591a90
commit 9bd25e9ca5
1 changed files with 1 additions and 1 deletions

View File

@ -3182,7 +3182,7 @@ class InstanceTestCase(test.TestCase, ModelsObjectComparatorMixin):
self.assertIsNone(new['host'])
def test_instance_update_and_get_original_expected_task_state_deleting(self): # noqa
# Ensure that we raise UnepectedDeletingTaskStateError when task state
# Ensure that we raise UnexpectedDeletingTaskStateError when task state
# is not as expected, and it is DELETING
instance = self.create_instance_with_args(
task_state=task_states.DELETING)